--- - hosts: hcloud_fw connection: local tasks: - name: "Setup hcloud firewall via include_role" include_role: name: hcloud tasks_from: configure-firewall2 loop: "{{ hcloud_firewall_objects }}" loop_control: loop_var: firewall_object