[DOCS] Move example playbook to separate file
Change-Id: I76b2773c46124f953aecfd502758b153e40fc1f9
This commit is contained in:
parent
54ca3be6d4
commit
50bcea12d8
40
README.rst
40
README.rst
@ -1,35 +1,9 @@
|
||||
OpenStack-Ansible Galera Server
|
||||
###############################
|
||||
===============================
|
||||
OpenStack-Ansible Galera server
|
||||
===============================
|
||||
|
||||
Ansible role to install and configure a Galera cluster powered by MariaDB
|
||||
|
||||
Default Variables
|
||||
=================
|
||||
|
||||
.. literalinclude:: ../../defaults/main.yml
|
||||
:language: yaml
|
||||
:start-after: under the License.
|
||||
|
||||
Required Variables
|
||||
==================
|
||||
|
||||
To use this role, define the following variables:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
galera_root_password: secrete
|
||||
|
||||
|
||||
Example Playbook
|
||||
================
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
- name: Install galera server
|
||||
hosts: galera_all
|
||||
user: root
|
||||
roles:
|
||||
- { role: "galera_server" }
|
||||
vars:
|
||||
galera_root_password: secrete
|
||||
Documentation for the project can be found at:
|
||||
http://docs.openstack.org/developer/openstack-ansible-galera_server
|
||||
|
||||
The project home is at:
|
||||
http://launchpad.net/openstack-ansible
|
||||
|
@ -1 +1,28 @@
|
||||
.. include:: ../../README.rst
|
||||
===============================
|
||||
OpenStack-Ansible Galera server
|
||||
===============================
|
||||
|
||||
Ansible role to install and configure a Galera cluster powered by MariaDB
|
||||
|
||||
Default variables
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. literalinclude:: ../../defaults/main.yml
|
||||
:language: yaml
|
||||
:start-after: under the License.
|
||||
|
||||
Required variables
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
To use this role, define the following variables:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
galera_root_password: secrete
|
||||
|
||||
|
||||
Example playbook
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
.. literalinclude:: ../../examples/playbook.yml
|
||||
:language: yaml
|
||||
|
7
examples/playbook.yml
Normal file
7
examples/playbook.yml
Normal file
@ -0,0 +1,7 @@
|
||||
- name: Install Galera server
|
||||
hosts: galera_all
|
||||
user: root
|
||||
roles:
|
||||
- { role: "galera_server" }
|
||||
vars:
|
||||
galera_root_password: secrete
|
Loading…
Reference in New Issue
Block a user