[DOCS] move example playbook to separate file

Change-Id: I0243088c36a24be9c989602d98a988f63256924b
This commit is contained in:
Robb Romans 2016-08-12 10:01:44 -05:00
parent fb7c6a42b9
commit 821926694a
3 changed files with 39 additions and 17 deletions

View File

@ -1,14 +1,9 @@
os_tempest role
###############
:tags: openstack, cloud, ansible, os_tempest
:category: \*nix
=================================
OpenStack-Ansible os_tempest role
=================================
os_tempest Role
Documentation for the project can be found at:
http://docs.openstack.org/developer/openstack-ansible-os_tempest
.. code-block:: yaml
- name: os_tempest role
hosts: "hosts"
user: root
roles:
- { role: "os_tempest" }
The project home is at:
http://launchpad.net/openstack-ansible

View File

@ -1,12 +1,34 @@
os_tempest Docs
===============
=================================
OpenStack-Ansible os_tempest role
=================================
Ansible role to deploy OpenStack Tempest
This is the Ansible role to deploy OpenStack Tempest.
Basic Role Example
^^^^^^^^^^^^^^^^^^
:tags: openstack, cloud, ansible, os_tempest
:category: \*nix
Basic role example
~~~~~~~~~~~~~~~~~~
.. code-block:: yaml
- role: "os_tempest"
ROLE_VARS...
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: os_tempest role
hosts: "hosts"
user: root
roles:
- { role: "os_tempest" }