summaryrefslogtreecommitdiffstats
path: root/roles/contiv/tasks/packageManagerInstall.yml
diff options
context:
space:
mode:
authorSanjeev Rampal <srampal@cisco.com>2017-05-26 14:27:09 -0700
committerSanjeev Rampal <srampal@cisco.com>2017-05-31 12:08:09 -0700
commit76d1ee25b7570add1531ba232c46977d7201a122 (patch)
treeb8a8f04ed6a440c115d037e476a17801f1554e14 /roles/contiv/tasks/packageManagerInstall.yml
parentd175973070a4dce2055678f9309d2f74517d461e (diff)
downloadopenshift-76d1ee25b7570add1531ba232c46977d7201a122.tar.gz
openshift-76d1ee25b7570add1531ba232c46977d7201a122.tar.bz2
openshift-76d1ee25b7570add1531ba232c46977d7201a122.tar.xz
openshift-76d1ee25b7570add1531ba232c46977d7201a122.zip
Add support for rhel, aci, vxlan
Diffstat (limited to 'roles/contiv/tasks/packageManagerInstall.yml')
-rw-r--r--roles/contiv/tasks/packageManagerInstall.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/contiv/tasks/packageManagerInstall.yml b/roles/contiv/tasks/packageManagerInstall.yml
index 2eff1b85f..e0d48e643 100644
--- a/roles/contiv/tasks/packageManagerInstall.yml
+++ b/roles/contiv/tasks/packageManagerInstall.yml
@@ -4,9 +4,10 @@
did_install: false
- include: pkgMgrInstallers/centos-install.yml
- when: ansible_distribution == "CentOS" and not is_atomic
+ when: (ansible_os_family == "RedHat") and
+ not is_atomic
- name: Package Manager | Set fact saying we did CentOS package install
set_fact:
did_install: true
- when: ansible_distribution == "CentOS"
+ when: (ansible_os_family == "RedHat")