1
0
Fork 0
forked from infra/ansible

ELNBuildSync: rework variable locations

Instead of having foo: and foo_stg: variables with ternary() selections
based on environment, take a cue from Koschei and use two variable files
in the role, selected by environment name.

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
Stephen Gallagher 2026-06-15 14:25:59 -04:00
commit 9da15d2b03
Signed by untrusted user: sgallagh
GPG key ID: 45DB85A568286D11
6 changed files with 34 additions and 4 deletions

View file

@ -29,8 +29,9 @@
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
roles:
- role: rabbit/user