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:
parent
075447568c
commit
9da15d2b03
6 changed files with 34 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue