Forgot quotes, sorry

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2019-10-10 13:21:48 +02:00 committed by Pierre-Yves Chibon
parent 266985c3f2
commit b906c4e887

View file

@ -20,11 +20,11 @@
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
- set_fact:
args:
bodhi_version: {{ hostvars[groups['bodhi2_stg'][0]]['bodhi_version'] }}
bodhi_version: "{{ hostvars[groups['bodhi2_stg'][0]]['bodhi_version'] }}"
when: env == "staging"
- set_fact:
args:
bodhi_version: {{ hostvars[groups['bodhi2'][0]]['bodhi_version'] }}
bodhi_version: "{{ hostvars[groups['bodhi2'][0]]['bodhi_version'] }}"
when: env == "production"
roles: