From 0fd9b38ae3e358d7a05fc63c8ae23cfd7d7c5b27 Mon Sep 17 00:00:00 2001 From: talset Date: Tue, 23 Feb 2016 13:35:35 +0100 Subject: Add missing is_atomic condition on upgrade package * Update playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml * Add when not is_atomic on yum upgrade on master and node to be able to run the playbook on atomic host --- playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'playbooks') 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 dbf746f12..2f67a3bc2 100644 --- a/playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml +++ b/playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml @@ -13,6 +13,7 @@ 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 - name: Ensure python-yaml present for config upgrade action: "{{ ansible_pkg_mgr }} name=PyYAML state=present" @@ -63,6 +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 - name: Restart node service service: name="{{ openshift.common.service_type }}-node" state=restarted -- cgit v1.2.1