summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-06-28 10:56:12 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-06-28 10:56:12 -0300
commit6c746ab59b9c02a9e416dd2ccb9552f1d9112fcb (patch)
treeffaaf0f148b4137529bee232041fda2f31f28670 /playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
parentdd2506e325d1a2858da353f96251f093e94bbcf3 (diff)
downloadopenshift-6c746ab59b9c02a9e416dd2ccb9552f1d9112fcb.tar.gz
openshift-6c746ab59b9c02a9e416dd2ccb9552f1d9112fcb.tar.bz2
openshift-6c746ab59b9c02a9e416dd2ccb9552f1d9112fcb.tar.xz
openshift-6c746ab59b9c02a9e416dd2ccb9552f1d9112fcb.zip
Fixes for non-containerized separate etcd hosts.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml5
1 files changed, 1 insertions, 4 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 11e77c3de..b49b3df7d 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
@@ -5,7 +5,7 @@
- include: ../../initialize_facts.yml
-- name: Update repos
+- name: Update repos and initialize facts on all hosts
hosts: oo_masters_to_config:oo_nodes_to_config:oo_etcd_to_config:oo_lb_to_config
roles:
- openshift_repos
@@ -165,9 +165,6 @@
docker pull {{ openshift.common.cli_image }}:{{ openshift_image_tag }}
when: openshift.common.is_containerized | bool
- - set_fact:
- repoquery_cmd: "{{ 'dnf repoquery --latest-limit 1 -d 0' if ansible_pkg_mgr == 'dnf' else 'repoquery' }}"
-
- name: Check latest available OpenShift RPM version
command: >
{{ repoquery_cmd }} --qf '%{version}' "{{ openshift.common.service_type }}"