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
yum:
pkg: "{{ item }}"
state: installed
action: "{{ ansible_pkg_mgr }} pkg={{ item }} state=installed"
with_items:
- libsemanage-python
- samba-common