Remove 'with_items' loop from package task

This commit is contained in:
Bert Van Vreckem 2019-06-22 18:06:22 +02:00
parent 575e242992
commit 02bb823e8c

View File

@ -34,9 +34,8 @@
- name: Install SELinux package - name: Install SELinux package
package: package:
name: "{{ item }}" name: "{{ samba_selinux_packages }}"
state: present state: present
with_items: "{{ samba_selinux_packages }}"
when: ansible_selinux is defined and ansible_selinux.status == 'enabled' when: ansible_selinux is defined and ansible_selinux.status == 'enabled'
tags: samba tags: samba