Browse Source

Merge pull request #1924 from abutcher/BZ1337425

Bug 1337425 - [ansible-2.0] installer failed if yum-utils wasn't installed
Jason DeTiberus 9 years ago
parent
commit
e8316eea99
1 changed files with 4 additions and 0 deletions
  1. 4 0
      roles/openshift_facts/tasks/main.yml

+ 4 - 0
roles/openshift_facts/tasks/main.yml

@@ -19,6 +19,10 @@
   action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"
   when: not l_is_atomic | bool
 
+- name: Ensure yum-utils is installed
+  action: "{{ ansible_pkg_mgr }} name=yum-utils state=present"
+  when: not l_is_atomic | bool
+
 - name: Gather Cluster facts and set is_containerized if needed
   openshift_facts:
     role: common