summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobb Romans <robb.romans@rackspace.com>2016-08-11 15:41:31 -0500
committerRobb Romans <robb.romans@rackspace.com>2016-08-11 20:29:07 -0500
commit23cfc19a4cdb93dfccb0941a762a960502021490 (patch)
treed6ad4a5e661db8aa4ee56ef0b7f1bdc06673bb8f
parentee6ff9a709695ae447c5ac3f3b9b2b909a9b573d (diff)
[DOCS] Move example playbook to separate file
Notes
Notes (review): Code-Review+2: Jesse Pretorius (odyssey4me) <jesse.pretorius@rackspace.co.uk> Code-Review+2: Major Hayden <major@mhtx.net> Workflow+1: Major Hayden <major@mhtx.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 12 Aug 2016 15:17:20 +0000 Reviewed-on: https://review.openstack.org/354382 Project: openstack/openstack-ansible-memcached_server Branch: refs/heads/master
-rw-r--r--README.rst31
-rw-r--r--doc/source/index.rst24
-rw-r--r--examples/playbook.yml5
3 files changed, 32 insertions, 28 deletions
diff --git a/README.rst b/README.rst
index 382b943..a545665 100644
--- a/README.rst
+++ b/README.rst
@@ -1,28 +1,5 @@
1OpenStack-Ansible Memcached Server 1==================================
2################################## 2OpenStack-Ansible Memcached server
3 3==================================
4Ansible role to install and configure Memcached
5
6Default Variables
7=================
8
9.. literalinclude:: ../../defaults/main.yml
10 :language: yaml
11 :start-after: under the License.
12
13Required Variables
14==================
15
16None
17
18Example Playbook
19================
20
21.. code-block:: yaml
22
23 - name: Install memcached
24 hosts: memcached
25 user: root
26 roles:
27 - { role: "memcached_server" }
28 4
5Ansible role to install and configure Memcached.
diff --git a/doc/source/index.rst b/doc/source/index.rst
index a6210d3..f1ce3bb 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -1 +1,23 @@
1.. include:: ../../README.rst 1==================================
2OpenStack-Ansible Memcached server
3==================================
4
5Ansible role to install and configure Memcached.
6
7Default variables
8~~~~~~~~~~~~~~~~~
9
10.. literalinclude:: ../../defaults/main.yml
11 :language: yaml
12 :start-after: under the License.
13
14Required variables
15~~~~~~~~~~~~~~~~~~
16
17None
18
19Example playbook
20~~~~~~~~~~~~~~~~
21
22.. literalinclude:: ../../examples/playbook.yml
23 :language: yaml
diff --git a/examples/playbook.yml b/examples/playbook.yml
new file mode 100644
index 0000000..a840e32
--- /dev/null
+++ b/examples/playbook.yml
@@ -0,0 +1,5 @@
1- name: Install Memcached
2 hosts: memcached
3 user: root
4 roles:
5 - { role: "memcached_server" }