Make those variables available
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
426d9b7b63
commit
266985c3f2
1 changed files with 8 additions and 0 deletions
|
@ -18,6 +18,14 @@
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
||||||
|
- set_fact:
|
||||||
|
args:
|
||||||
|
bodhi_version: {{ hostvars[groups['bodhi2_stg'][0]]['bodhi_version'] }}
|
||||||
|
when: env == "staging"
|
||||||
|
- set_fact:
|
||||||
|
args:
|
||||||
|
bodhi_version: {{ hostvars[groups['bodhi2'][0]]['bodhi_version'] }}
|
||||||
|
when: env == "production"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: rabbit/user
|
- role: rabbit/user
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue