Commit Graph

3 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 810e58bd11 Fix linters for example playbook
Change-Id: I1305323f15c704b0ba808d4a2acd74664b6205db
2023-10-25 12:24:49 +02:00
Jesse Pretorius 337371f69d 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 'sahara_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 sahara_galera_address which
has been used for a long time, but never documented.

Change-Id: I594ef44b2943dc9d7a45771bd1e8592595bd0efc
2018-06-01 19:03:47 +01:00
Flávio Ramalho 4cc7badeb5 [DOCS] Added sahara role installation guide
This change adds a installagion guide for the sahara role and
an example playbook.

Change-Id: I0988845d624553db7bac88d967e312d832a8e274
2016-08-24 18:22:27 -03:00