summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-07-21 12:13:10 -0400
committerGitHub <noreply@github.com>2016-07-21 12:13:10 -0400
commitd0c75ba21ba84a9df4a6cd12f02ce335ea4f9427 (patch)
treeca3493c5fa3cd56d98a48312148040d2e8b430d2 /playbooks/common/openshift-cluster
parenta355349a98cecec1d10e7d166aa70d8e77df20e1 (diff)
parentca7767eab6674737a117a09f7f456b7918cffecf (diff)
downloadopenshift-d0c75ba21ba84a9df4a6cd12f02ce335ea4f9427.tar.gz
openshift-d0c75ba21ba84a9df4a6cd12f02ce335ea4f9427.tar.bz2
openshift-d0c75ba21ba84a9df4a6cd12f02ce335ea4f9427.tar.xz
openshift-d0c75ba21ba84a9df4a6cd12f02ce335ea4f9427.zip
Merge pull request #2168 from dgoodwin/container-cli-speed
Copy openshift binary instead of using wrapper script.
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 a27b62971..a32123952 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