diff --git a/tasks/setup.yml b/tasks/setup.yml index 5226136..b8de252 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -34,7 +34,7 @@ state: "{{ item.state | default('present') }}" weight: "{{ item.weight | default(omit) }}" table: "{{ item.table | default(omit) }}" - with_items: "{{ droneci_open_ports }}" + loop: "{{ droneci_open_ports }}" loop_control: label: "{{ item.name }}" when: droneci_iptables_enabled | bool