Support both apt and yum package managers
This commit is contained in:
parent
a1e2480b6d
commit
a668e0f852
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user