Support both apt and yum package managers

This commit is contained in:
Ian Young 2016-01-02 00:13:29 -08:00
parent a1e2480b6d
commit a668e0f852

View File

@ -2,9 +2,7 @@
--- ---
- name: Install Samba packages - name: Install Samba packages
yum: action: "{{ ansible_pkg_mgr }} pkg={{ item }} state=installed"
pkg: "{{ item }}"
state: installed
with_items: with_items:
- libsemanage-python - libsemanage-python
- samba-common - samba-common