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