summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authortalset <florian.lambert@enovance.com>2016-02-25 10:57:56 +0100
committertalset <florian.lambert@enovance.com>2016-02-25 10:57:56 +0100
commit2b4aad9db8118a67710ad6cb5bed70afff292e82 (patch)
tree78de5daae55125c342b71dab8a9cf1025182ccf3 /playbooks
parent0fd9b38ae3e358d7a05fc63c8ae23cfd7d7c5b27 (diff)
downloadopenshift-2b4aad9db8118a67710ad6cb5bed70afff292e82.tar.gz
openshift-2b4aad9db8118a67710ad6cb5bed70afff292e82.tar.bz2
openshift-2b4aad9db8118a67710ad6cb5bed70afff292e82.tar.xz
openshift-2b4aad9db8118a67710ad6cb5bed70afff292e82.zip
Change is_atomic to is_containerized
* Update playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml * Change is_atomic by is_containerized in order to take care about container openshift without atomic
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml
index 2f67a3bc2..54bb251f7 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml
@@ -13,11 +13,11 @@
tasks:
- name: Upgrade master packages
command: "{{ ansible_pkg_mgr}} update -y {{ openshift.common.service_type }}-master{{ openshift_version }}"
- when: not openshift.common.is_atomic | bool
+ when: not openshift.common.is_containerized | bool
- name: Ensure python-yaml present for config upgrade
action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"
- when: not openshift.common.is_atomic | bool
+ when: not openshift.common.is_containerized | bool
# Currently 3.1.1 does not have any new configuration settings
#
@@ -64,7 +64,7 @@
tasks:
- name: Upgrade node packages
command: "{{ ansible_pkg_mgr }} update -y {{ openshift.common.service_type }}-node{{ openshift_version }}"
- when: not openshift.common.is_atomic | bool
+ when: not openshift.common.is_containerized | bool
- name: Restart node service
service: name="{{ openshift.common.service_type }}-node" state=restarted