From 88800633bc9cf2241f183aa9bc6af629e85e87f7 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Fri, 15 Jun 2018 12:29:35 +0200 Subject: [PATCH] Fix the when statement Signed-off-by: Clement Verna --- playbooks/groups/osbs-cluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index 641ffb7c20..37a2de4b79 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -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