Removed 'with_items' loop from package task

This commit is contained in:
Bert Van Vreckem 2019-06-22 18:00:06 +02:00
parent 598c9fda9a
commit e34d8f5215

View File

@ -10,16 +10,14 @@
- name: Install Samba packages
package:
name: "{{ item }}"
name: "{{ samba_packages }}"
state: present
with_items: "{{ samba_packages }}"
tags: samba
- name: Install Samba VFS extensions packages
package:
name: "{{ item }}"
name: "{{ samba_vfs_packages }}"
state: present
with_items: "{{ samba_vfs_packages }}"
when: samba_vfs_packages is defined
tags: samba