summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-07-18 15:53:31 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-07-20 12:58:42 -0300
commit3a71ccde5c1a0324648516f761515c09bc461be3 (patch)
tree5820554aee18c68104eefdb7524b41d7a2c8aa2b /playbooks/common/openshift-cluster
parentac4ef6bb65c24890592b6b35b11be82f4ddc6deb (diff)
downloadopenshift-3a71ccde5c1a0324648516f761515c09bc461be3.tar.gz
openshift-3a71ccde5c1a0324648516f761515c09bc461be3.tar.bz2
openshift-3a71ccde5c1a0324648516f761515c09bc461be3.tar.xz
openshift-3a71ccde5c1a0324648516f761515c09bc461be3.zip
Stop reporting changes when docker pull is already up to date.
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
index 7a8dfdf91..cf32146a1 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
@@ -163,6 +163,8 @@
- name: Verify containers are available for upgrade
command: >
docker pull {{ openshift.common.cli_image }}:{{ openshift_image_tag }}
+ register: pull_result
+ changed_when: "'Downloaded newer image' in pull_result.stdout"
when: openshift.common.is_containerized | bool
- name: Check latest available OpenShift RPM version