From fbc6a3cd42bb082d308e50a9c6c0d1ea89a3f007 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Sat, 23 Sep 2017 15:35:43 +0200 Subject: [PATCH] Replace include_tasks with include again if used in a loop --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 9f30b0f..527b754 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,7 +8,7 @@ - block: - name: "Reset all hosts" - include_tasks: reset.yml + include: reset.yml with_items: '{{ groups.all }}' loop_control: loop_var: hostname @@ -18,7 +18,7 @@ include_tasks: tunnel_keys.yml - name: "User keys" - include_tasks: user_keys.yml + include: user_keys.yml with_flattened: - '{{ admins }}' - '{{ jailusers }}' -- GitLab