summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-12-09 16:44:55 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-12-09 16:44:55 -0500
commitec7b8b68b6467e17487ec4c81fbe2c6826e3c889 (patch)
treecba54e9138630742d0788a5cff9f70ec75b93032 /playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml
parentecae1fcaaf6d83f2fb6dce0624990b2d13c25db9 (diff)
parentb1d30491f1581503003646684137bf2c218660ba (diff)
downloadopenshift-ec7b8b68b6467e17487ec4c81fbe2c6826e3c889.tar.gz
openshift-ec7b8b68b6467e17487ec4c81fbe2c6826e3c889.tar.bz2
openshift-ec7b8b68b6467e17487ec4c81fbe2c6826e3c889.tar.xz
openshift-ec7b8b68b6467e17487ec4c81fbe2c6826e3c889.zip
Merge pull request #1046 from sdodson/yum-dnf-cleanup
Remove yum / dnf duplication
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml
index 9f7e49b93..63c8ef756 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_0_minor/upgrade.yml
@@ -11,7 +11,7 @@
openshift_version: "{{ openshift_pkg_version | default('') }}"
tasks:
- name: Upgrade master packages
- yum: pkg={{ openshift.common.service_type }}-master{{ openshift_version }} state=latest
+ action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-master{{ openshift_version }} state=latest"
- name: Restart master services
service: name="{{ openshift.common.service_type}}-master" state=restarted
@@ -21,7 +21,7 @@
openshift_version: "{{ openshift_pkg_version | default('') }}"
tasks:
- name: Upgrade node packages
- yum: pkg={{ openshift.common.service_type }}-node{{ openshift_version }} state=latest
+ action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-node{{ openshift_version }} state=latest"
- name: Restart node services
service: name="{{ openshift.common.service_type }}-node" state=restarted