rsyncd: dnf -> package, with_item changes
This commit is contained in:
parent
0516df54c1
commit
d0f4549304
1 changed files with 12 additions and 10 deletions
|
@ -4,22 +4,24 @@
|
|||
#
|
||||
|
||||
- name: install rnecessary packages
|
||||
package: state=present name={{item}}
|
||||
with_items:
|
||||
- rsync
|
||||
- xinetd
|
||||
- libsemanage-python
|
||||
package:
|
||||
state: present
|
||||
name:
|
||||
- rsync
|
||||
- xinetd
|
||||
- libsemanage-python
|
||||
tags:
|
||||
- packages
|
||||
- rsyncd
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: install rnecessary packages
|
||||
dnf: state=present name={{item}}
|
||||
with_items:
|
||||
- rsync
|
||||
- xinetd
|
||||
- libsemanage-python
|
||||
package:
|
||||
state: present
|
||||
name:
|
||||
- rsync
|
||||
- xinetd
|
||||
- libsemanage-python
|
||||
tags:
|
||||
- packages
|
||||
- rsyncd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue