Commit Graph

5 Commits

Author SHA1 Message Date
Jonathan Rosser 2fcec5f55f Fix example playbook linters
Change-Id: I6962b83ec44db6d9edd0da6efbb58e1485f812a0
2023-11-06 08:32:26 +00:00
wangqi ac1921af23 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: Ied016d208fa19f176c86b0f04f9406ba264e4d22
2018-08-06 07:29:38 +00:00
Jesse Pretorius 0e3476b012 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 'glance_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 glance_galera_address which
has been used for a long time, but never documented.

Needed-By: https://review.openstack.org/568485
Needed-By: https://review.openstack.org/568492
Change-Id: I1a875cfdece088838027fc7b4dafd812d8c2693b
2018-05-15 07:45:39 +00:00
Robb Romans 12176ece55 [DOCS] Add project links; fix indents; wording
Change-Id: Ie5225d641c2db96ca314ab54613588408eb77005
2016-08-16 09:16:30 -05:00
Alexandra 25f8bf7369 [DOCS] Move glance role docs
Change-Id: I0dfaf4225984e72704b62f840891825483adc1c1
2016-08-12 10:44:33 -05:00