Commit fc54257b authored by Maciej Delmanowski's avatar Maciej Delmanowski

[ci] Synchronize PostgreSQL server, client roles

Both the 'debops.postgresql_server' and 'debops.postgresql' roles need
to use the same "delegate_to" value to have consistent view of the
passwords stored in the 'secret/' directory.
parent f025d62b
...@@ -501,7 +501,7 @@ stages: ...@@ -501,7 +501,7 @@ stages:
variables: variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/redis_server.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/gitlab.yml' JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/redis_server.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/gitlab.yml'
JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server,debops_service_redis_server,debops_service_gitlab' JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server,debops_service_redis_server,debops_service_gitlab'
JANE_INVENTORY_HOSTVARS: 'postgresql__delegate_to=localhost' JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
JANE_DIFF_PATTERN: '.*/debops.gitlab/.*' JANE_DIFF_PATTERN: '.*/debops.gitlab/.*'
JANE_LOG_PATTERN: '\[debops\.gitlab\]' JANE_LOG_PATTERN: '\[debops\.gitlab\]'
VAGRANT_MASTER_MEMORY: '4096' VAGRANT_MASTER_MEMORY: '4096'
...@@ -619,7 +619,7 @@ stages: ...@@ -619,7 +619,7 @@ stages:
variables: variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/icinga.yml ${DEBOPS_PLAYBOOKS}/service/icinga_db.yml' JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/icinga.yml ${DEBOPS_PLAYBOOKS}/service/icinga_db.yml'
JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_pki,debops_service_postgresql_server,debops_service_icinga,debops_service_icinga_db' JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_pki,debops_service_postgresql_server,debops_service_icinga,debops_service_icinga_db'
JANE_INVENTORY_HOSTVARS: 'postgresql__delegate_to=localhost' JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
JANE_DIFF_PATTERN: '.*/debops.icinga_db/.*' JANE_DIFF_PATTERN: '.*/debops.icinga_db/.*'
JANE_LOG_PATTERN: '\[debops\.icinga_db\]' JANE_LOG_PATTERN: '\[debops\.icinga_db\]'
...@@ -628,7 +628,7 @@ stages: ...@@ -628,7 +628,7 @@ stages:
variables: variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/icinga.yml ${DEBOPS_PLAYBOOKS}/service/icinga_db.yml ${DEBOPS_PLAYBOOKS}/service/icinga_web.yml' JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/icinga.yml ${DEBOPS_PLAYBOOKS}/service/icinga_db.yml ${DEBOPS_PLAYBOOKS}/service/icinga_web.yml'
JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_pki,debops_service_postgresql_server,debops_service_icinga,debops_service_icinga_db,debops_service_icinga_web' JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_pki,debops_service_postgresql_server,debops_service_icinga,debops_service_icinga_db,debops_service_icinga_web'
JANE_INVENTORY_HOSTVARS: 'postgresql__delegate_to=localhost' JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
JANE_DIFF_PATTERN: '.*/debops.icinga_web/.*' JANE_DIFF_PATTERN: '.*/debops.icinga_web/.*'
JANE_LOG_PATTERN: '\[debops\.icinga_web\]' JANE_LOG_PATTERN: '\[debops\.icinga_web\]'
...@@ -861,7 +861,7 @@ stages: ...@@ -861,7 +861,7 @@ stages:
variables: variables:
JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/netbox.yml' JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/netbox.yml'
JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server,debops_service_netbox' JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server,debops_service_netbox'
JANE_INVENTORY_HOSTVARS: 'postgresql__delegate_to=localhost' JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
JANE_DIFF_PATTERN: '.*/debops.netbox/.*' JANE_DIFF_PATTERN: '.*/debops.netbox/.*'
JANE_LOG_PATTERN: '\[debops\.netbox\]' JANE_LOG_PATTERN: '\[debops\.netbox\]'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment