diff options
author | talset <florian.lambert@enovance.com> | 2016-02-23 13:35:35 +0100 |
---|---|---|
committer | talset <florian.lambert@enovance.com> | 2016-02-23 13:35:35 +0100 |
commit | 0fd9b38ae3e358d7a05fc63c8ae23cfd7d7c5b27 (patch) | |
tree | 44c3f783a72df9bfa3cd1defc34e50ca208ccd84 | |
parent | dc8938e01202db0464e54becf4812c3191ce2d51 (diff) | |
download | openshift-0fd9b38ae3e358d7a05fc63c8ae23cfd7d7c5b27.tar.gz openshift-0fd9b38ae3e358d7a05fc63c8ae23cfd7d7c5b27.tar.bz2 openshift-0fd9b38ae3e358d7a05fc63c8ae23cfd7d7c5b27.tar.xz openshift-0fd9b38ae3e358d7a05fc63c8ae23cfd7d7c5b27.zip |
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
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml | 2 |
1 files changed, 2 insertions, 0 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 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 |