openstack-ansible-os_horizon/defaults
Jesse Pretorius 36ec620afd 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 'horizon_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 horizon_galera_address which
has been used for a long time, but never documented.

Change-Id: I7946c325d87c74e2bd9b1dcc1f92ea09a5386729
2018-06-01 15:53:58 +01:00
..
main.yml Move database creation into role 2018-06-01 15:53:58 +01:00