openstack-ansible-os_glance/examples
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
..
playbook.yml Move database creation into role 2018-05-15 07:45:39 +00:00