Merge "[DOCS] Create separate example playbook file"

This commit is contained in:
Jenkins 2016-08-12 15:19:49 +00:00 committed by Gerrit Code Review
commit a94928b7c3
3 changed files with 30 additions and 26 deletions

View File

@ -1,28 +1,5 @@
===========================
OpenStack-Ansible LXC hosts OpenStack-Ansible LXC hosts
########################### ===========================
Ansible role that configures a host for running LXC containers. Ansible role that configures a host for running LXC containers.
Default Variables
=================
.. literalinclude:: ../../defaults/main.yml
:language: yaml
:start-after: under the License.
Required Variables
==================
None
Example Playbook
================
.. code-block:: yaml
- name: Basic lxc host setup
hosts: "hosts"
user: root
roles:
- { role: "lxc_hosts" }

View File

@ -1 +1,23 @@
.. include:: ../../README.rst ===========================
OpenStack-Ansible LXC hosts
===========================
Ansible role that configures a host for running LXC containers.
Default variables
~~~~~~~~~~~~~~~~~
.. literalinclude:: ../../defaults/main.yml
:language: yaml
:start-after: under the License.
Required variables
~~~~~~~~~~~~~~~~~~
None
Example playbook
~~~~~~~~~~~~~~~~
.. literalinclude:: ../../examples/playbook.yml
:language: yaml

5
examples/playbook.yml Normal file
View File

@ -0,0 +1,5 @@
- name: Basic LXC host setup
hosts: "hosts"
user: root
roles:
- { role: "lxc_hosts" }