1
0
Fork 0
forked from infra/ansible

ELNBuildSync: Further fixes for prod/stg var split

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
Stephen Gallagher 2026-06-15 16:23:55 -04:00
commit 98747b34a7
Signed by untrusted user: sgallagh
GPG key ID: 45DB85A568286D11
2 changed files with 3 additions and 17 deletions

View file

@ -7,14 +7,15 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- /srv/private/ansible/vars.yml
- /srv/web/infra/ansible/vars/apps/elnbuildsync.yml
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
- /srv/web/infra/ansible/roles/openshift-apps/elnbuildsync/vars/main.yml
- /srv/web/infra/ansible/roles/openshift-apps/elnbuildsync/vars/{{ env }}.yml
tasks:
- name: ELNBuildSync DB user
community.postgresql.postgresql_user:
name: "{{ ebs_db_user }}"
password: "{{ (env == 'production') | ternary(ebs_db_password, ebs_stg_db_password) }}"
password: "{{ ebs_db_password }}"
- name: ELNBuildSync database creation
community.postgresql.postgresql_db: