Provision database nodes with ansible
TODO:
-
Create gitlab.rb -
Select a master if one isn't already -
Configure other nodes to follow the master -
Do nothing with repmgr if it is already configured, and the node is a proper master or standby -
Handle user specific attributes ( postgresql['listen_address']
,postgresql['trust_auth_cidr_addresses']
,repmgr['trust_auth_cidr_addresses']
) -
Handle passwords ( postgresql['sql_user_password']
,postgresql['pgbouncer_user_password']
).var_prompt
should prove useful for this.
Edited by Ian Baum