Prechádzať zdrojové kódy

nfs: replace yum with dnf

Erez Freiberger 9 rokov pred
rodič
commit
55198e9b83

+ 1 - 3
roles/openshift_storage_nfs/tasks/main.yml

@@ -1,8 +1,6 @@
 ---
 - name: Install nfs-utils
-  yum:
-    pkg: nfs-utils
-    state: present
+  action: "{{ ansible_pkg_mgr }} name=nfs-utils state=present"
 
 - name: Configure NFS
   lineinfile: