[DOCS] Move playbook example to separate file
Change-Id: I9551748692140100ede69fa5fa0ad61609743109
This commit is contained in:
parent
a26efadae1
commit
b06ca2f2ab
35
README.rst
35
README.rst
|
@ -1,32 +1,9 @@
|
|||
======================================
|
||||
OpenStack-Ansible LXC container create
|
||||
######################################
|
||||
======================================
|
||||
|
||||
Ansible role for creating LXC containers. This role will create several
|
||||
directories on the LXC host for use in bind mounted storage within the
|
||||
container.
|
||||
|
||||
Default Variables
|
||||
=================
|
||||
|
||||
.. literalinclude:: ../../defaults/main.yml
|
||||
:language: yaml
|
||||
:start-after: under the License.
|
||||
|
||||
Required Variables
|
||||
==================
|
||||
|
||||
None
|
||||
|
||||
|
||||
Example Playbook
|
||||
================
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
- name: Create container(s)
|
||||
hosts: all_containers
|
||||
gather_facts: false
|
||||
user: root
|
||||
roles:
|
||||
- { role: "lxc_container_create" }
|
||||
Documentation for the project can be found at:
|
||||
http://docs.openstack.org/developer/openstack-ansible-lxc_container_create/
|
||||
|
||||
The project home is at:
|
||||
http://launchpad.net/openstack-ansible
|
||||
|
|
|
@ -1 +1,25 @@
|
|||
.. include:: ../../README.rst
|
||||
======================================
|
||||
OpenStack-Ansible LXC container create
|
||||
======================================
|
||||
|
||||
Ansible role for creating LXC containers. This role creates several
|
||||
directories on the LXC host for use in bind-mounted storage within the
|
||||
container.
|
||||
|
||||
Default variables
|
||||
=================
|
||||
|
||||
.. literalinclude:: ../../defaults/main.yml
|
||||
:language: yaml
|
||||
:start-after: under the License.
|
||||
|
||||
Required variables
|
||||
==================
|
||||
|
||||
None
|
||||
|
||||
Example playbook
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
.. literalinclude:: ../../examples/playbook.yml
|
||||
:language: yaml
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
- name: Create container(s)
|
||||
hosts: all_containers
|
||||
gather_facts: false
|
||||
user: root
|
||||
roles:
|
||||
- { role: "lxc_container_create" }
|
Loading…
Reference in New Issue