소스 검색

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