From 7a951e00de31bd9ac51bfc4dc65c06d0b533dcb0 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Tue, 12 Jun 2018 21:55:16 +0200 Subject: [PATCH] Actually we do not want this task to be done in stg Signed-off-by: Clement Verna --- playbooks/groups/osbs-cluster.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index d2d693496c..8f683ba026 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -947,7 +947,7 @@ - name: Post-Install image stream refresh - hosts: osbs-masters[0] + hosts: osbs-masters[0]:osbs-masters-stg[0] tags: - osbs-post-install vars_files: @@ -957,10 +957,6 @@ - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml tasks: - - name: refresh fedora image streams - command: "oc import-image fedora --all" - when: env == "staging" and hostvars[groups["osbs-masters-stg"][0]]["docker_pull_fedora"] is changed - - name: refresh fedora image streams command: "oc import-image fedora --all" when: env == "production" and hostvars[groups["osbs-masters"][0]]["docker_pull_fedora"] is changed