ソースを参照

replace yum with dnf

Seth Jennings 9 年 前
コミット
44fd85fdca
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