Commit Graph

5 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov d82a9d424e Fix example playbook linters
Change-Id: I0d44b87c2ac31827eeb72c1db3d48e0ca571633a
2023-10-09 10:24:48 +02:00
chenxing 1584e8ce64 Remove useless code-block tag
Just make consistent with
https://docs.openstack.org/openstack-ansible-os_neutron/latest/index.html#example-playbook

Change-Id: I4cbef78170f64c056ea5e9f378ee6292d68656ac
2019-09-20 14:24:43 +03:00
wangqi 5061f49813 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: I76ee92f36b3b91cce527c19860798c7cd36c27f9
2018-08-06 07:47:12 +00:00
Jesse Pretorius 3048970324 Move database creation into role
There is no record for why we implement the database creation outside
of the role in the playbook, when we could do it inside the role.

Implementing it inside the role allows us to reduce the quantity of
group_vars duplicated from the role, and allows us to better document
the required variables in the role. The delegation can still be done
as it is done in the playbook too.

In this patch we implement a new variable called 'nova_db_setup_host'
which is used in the role to allow delegation of the database setup
task to any host, but defaults to the first member of the galera_all
host group. We also document the variable nova_galera_address which
has been used for a long time, but never documented.

Change-Id: I7f977b2c24dcd20a4a7e8d32c13fb6c66127ce9c
2018-06-01 18:57:10 +01:00
Drew Thorstensen 7777d81f1a [DOCS] Refactor of nova role docs
Update the role documentation to match the newly proposed format.  In
the new format, each role project should maintain the configuration
variations for the role project itself.

Change-Id: I165891189ffa67680980a70178fd55951cad293b
2016-08-16 18:57:21 -04:00