rsyncd: dnf -> package, with_item changes

This commit is contained in:
Karsten Hopp 2019-06-11 17:42:38 +02:00 committed by pingou
parent 0516df54c1
commit d0f4549304

View file

@ -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