diff --git a/tasks/main.yml b/tasks/main.yml index 3a9f3f4..886f795 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,9 +2,7 @@ --- - name: Install Samba packages - yum: - pkg: "{{ item }}" - state: installed + action: "{{ ansible_pkg_mgr }} pkg={{ item }} state=installed" with_items: - libsemanage-python - samba-common