[DOCS] Create separate example playbook file
Change-Id: Ic78d44f209d75dd4483ccb68fa6de44b6c63e66e
This commit is contained in:
parent
d66cedcc15
commit
887ea608fa
27
README.rst
27
README.rst
@ -1,28 +1,5 @@
|
||||
===========================
|
||||
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
|
||||
================
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
- name: Basic lxc host setup
|
||||
hosts: "hosts"
|
||||
user: root
|
||||
roles:
|
||||
- { role: "lxc_hosts" }
|
||||
|
||||
|
@ -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
5
examples/playbook.yml
Normal file
@ -0,0 +1,5 @@
|
||||
- name: Basic LXC host setup
|
||||
hosts: "hosts"
|
||||
user: root
|
||||
roles:
|
||||
- { role: "lxc_hosts" }
|
Loading…
x
Reference in New Issue
Block a user