Fix the when statement

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2018-06-15 12:29:35 +02:00
parent c6226b706c
commit 88800633bc

View file

@ -601,7 +601,6 @@
tags:
- osbs-dockercfg-secret-worker
user: root
when: env == "staging"
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -623,6 +622,7 @@
osbs_secret_files:
- source: "/tmp/.dockercfg"
dest: .dockercfg
when: env == "staging"
post_tasks:
- name: Delete the temporary secret file