Browse Source

[DOCS] Move example playbook to separate file

Change-Id: I70b520be283fd1dfc48708d6a00b0c3b556f0b78
tags/14.0.0.0b3
Robb Romans 2 years ago
parent
commit
23cfc19a4c
3 changed files with 32 additions and 28 deletions
  1. 4
    27
      README.rst
  2. 23
    1
      doc/source/index.rst
  3. 5
    0
      examples/playbook.yml

+ 4
- 27
README.rst View File

@@ -1,28 +1,5 @@
1
-OpenStack-Ansible Memcached Server
2
-##################################
3
-
4
-Ansible role to install and configure Memcached
5
-
6
-Default Variables
7
-=================
8
-
9
-.. literalinclude:: ../../defaults/main.yml
10
-   :language: yaml
11
-   :start-after: under the License.
12
-
13
-Required Variables
14
-==================
15
-
16
-None
17
-
18
-Example Playbook
19
-================
20
-
21
-.. code-block:: yaml
22
-
23
-    - name: Install memcached
24
-      hosts: memcached
25
-      user: root
26
-      roles:
27
-        - { role: "memcached_server" }
1
+==================================
2
+OpenStack-Ansible Memcached server
3
+==================================
28 4
 
5
+Ansible role to install and configure Memcached.

+ 23
- 1
doc/source/index.rst View File

@@ -1 +1,23 @@
1
-.. include:: ../../README.rst
1
+==================================
2
+OpenStack-Ansible Memcached server
3
+==================================
4
+
5
+Ansible role to install and configure Memcached.
6
+
7
+Default variables
8
+~~~~~~~~~~~~~~~~~
9
+
10
+.. literalinclude:: ../../defaults/main.yml
11
+   :language: yaml
12
+   :start-after: under the License.
13
+
14
+Required variables
15
+~~~~~~~~~~~~~~~~~~
16
+
17
+None
18
+
19
+Example playbook
20
+~~~~~~~~~~~~~~~~
21
+
22
+.. literalinclude:: ../../examples/playbook.yml
23
+   :language: yaml

+ 5
- 0
examples/playbook.yml View File

@@ -0,0 +1,5 @@
1
+- name: Install Memcached
2
+  hosts: memcached
3
+  user: root
4
+  roles:
5
+    - { role: "memcached_server" }

Loading…
Cancel
Save