From eddcdbbeee7528518f43bd50cb76c0be3d42fe42 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 9 Nov 2017 15:02:47 +0100 Subject: [PATCH] ansible-playbooks/general#72 Go back to includes for main.yml files --- tasks/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 44a3695..5352a8e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,20 +8,19 @@ - block: - name: "Reset all hosts" - include_tasks: reset.yml + include: reset.yml with_items: '{{ groups.all }}' loop_control: loop_var: hostname when: hostname != "localhost" and inventory_hostname != "localhost" - tags: 'always' - name: "Tunnel keys" - include_tasks: tunnel_keys.yml + include: tunnel_keys.yml when: ssh_tunnel is defined tags: 'Keys' - name: "User keys" - include_tasks: user_keys.yml + include: user_keys.yml with_flattened: - '{{ admins }}' - '{{ jailusers }}' -- GitLab