瀏覽代碼

Merge pull request #1280 from sjenning/replace-yum-dnf

replace yum with dnf
Brenton Leanhardt 9 年之前
父節點
當前提交
98f2de63f7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_cli/tasks/main.yml

+ 1 - 1
roles/openshift_cli/tasks/main.yml

@@ -6,7 +6,7 @@
       cli_image: "{{ osm_image | default(None) }}"
       
 - name: Install clients
-  yum: pkg={{ openshift.common.service_type }}-clients state=installed
+  action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-clients state=present"
   when: not openshift.common.is_containerized | bool
   
 - name: Pull CLI Image