Skip to content
Snippets Groups Projects
Commit fbc6a3cd authored by jurgenhaas's avatar jurgenhaas
Browse files

Replace include_tasks with include again if used in a loop

parent c0255bcf
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
- block: - block:
- name: "Reset all hosts" - name: "Reset all hosts"
include_tasks: reset.yml include: reset.yml
with_items: '{{ groups.all }}' with_items: '{{ groups.all }}'
loop_control: loop_control:
loop_var: hostname loop_var: hostname
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
include_tasks: tunnel_keys.yml include_tasks: tunnel_keys.yml
- name: "User keys" - name: "User keys"
include_tasks: user_keys.yml include: user_keys.yml
with_flattened: with_flattened:
- '{{ admins }}' - '{{ admins }}'
- '{{ jailusers }}' - '{{ jailusers }}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment