summaryrefslogtreecommitdiffstats
path: root/roles/contiv/tasks/packageManagerInstall.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/contiv/tasks/packageManagerInstall.yml')
-rw-r--r--roles/contiv/tasks/packageManagerInstall.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/contiv/tasks/packageManagerInstall.yml b/roles/contiv/tasks/packageManagerInstall.yml
index d5726476c..8c8e7a7bd 100644
--- a/roles/contiv/tasks/packageManagerInstall.yml
+++ b/roles/contiv/tasks/packageManagerInstall.yml
@@ -4,10 +4,9 @@
did_install: false
- include_tasks: pkgMgrInstallers/centos-install.yml
- when: (ansible_os_family == "RedHat") and
- not is_atomic
+ when: ansible_os_family == "RedHat" and not openshift_is_atomic | bool
- name: Package Manager | Set fact saying we did CentOS package install
set_fact:
did_install: true
- when: (ansible_os_family == "RedHat")
+ when: ansible_os_family == "RedHat"