Skip to content

Provision database nodes with ansible

Ian Baum requested to merge deploy_databases into master

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.

Closes gitlab-org/omnibus-gitlab#3415 (closed)

Edited by Ian Baum

Merge request reports