summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-03-08 13:25:27 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-03-08 13:28:21 -0500
commitedc7a0f4b9eb662a3eaf428a5816a3c00c541ee3 (patch)
tree51572b964256775f5c530a9f4b5c0463ba3f76cd /playbooks/common/openshift-cluster
parent13d249446afc9708d77c12dbe3fb6f0b4837b6aa (diff)
downloadopenshift-edc7a0f4b9eb662a3eaf428a5816a3c00c541ee3.tar.gz
openshift-edc7a0f4b9eb662a3eaf428a5816a3c00c541ee3.tar.bz2
openshift-edc7a0f4b9eb662a3eaf428a5816a3c00c541ee3.tar.xz
openshift-edc7a0f4b9eb662a3eaf428a5816a3c00c541ee3.zip
Bug 1315564 - upgrade to ose3.2 failed on Atomic Hosts
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_minor/pre.yml1
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml2
2 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_minor/pre.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_minor/pre.yml
index 864622a09..66935e061 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_minor/pre.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_1_minor/pre.yml
@@ -36,6 +36,7 @@
tasks:
- name: Clean package cache
command: "{{ ansible_pkg_mgr }} clean all"
+ when: not openshift.common.is_atomic | bool
- set_fact:
g_new_service_name: "{{ 'origin' if deployment_type =='origin' else 'atomic-openshift' }}"
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 d2af4adbb..c9afca559 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
@@ -55,6 +55,7 @@
tasks:
- name: Clean package cache
command: "{{ ansible_pkg_mgr }} clean all"
+ when: not openshift.common.is_atomic | bool
- set_fact:
g_new_service_name: "{{ 'origin' if deployment_type =='origin' else 'atomic-openshift' }}"
@@ -217,6 +218,7 @@
- name: Install etcd (for etcdctl)
action: "{{ ansible_pkg_mgr }} name=etcd state=latest"
+ when: not openshift.common.is_atomic | bool
- name: Generate etcd backup
command: >