Merge "[DOCS] Create separate example playbook file"
This commit is contained in:
commit
a94928b7c3
27
README.rst
27
README.rst
@ -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" }
|
|
||||||
|
|
||||||
|
@ -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