Commit Graph

4 Commits

Author SHA1 Message Date
wangqi a01a75d0a1 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: I2695c42c1ad5168826423754af260642ace6171b
2018-08-06 07:34:37 +00:00
Jesse Pretorius 84f4a848d3 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 'ironic_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 ironic_galera_address which
has been used for a long time, but never documented.

Change-Id: I8502d4aba54870a54900c3218563d66b864a1876
2018-06-01 16:05:08 +01:00
Robb Romans ca416a4538 [DOCS] Syntax updates to the docs
Finish moving to new format, remove tags, fix RST titles, fix line
lengths, add link, indent example file, fresh coat of wax.

Change-Id: Ibcf3d5743c9b70d4f29ea8181d54a6c5c1974580
2016-08-25 01:13:56 +00:00
Alexandra d96baff8be [DOCS] Move ironic docs to roles
Change-Id: I5c5a72d89074caf7afd1f801c8c523b24fe96e66
2016-08-11 20:26:36 +00:00