diff --git a/tasks/main.yml b/tasks/main.yml index 44a36951afd23bf95595b9839337f90a07b30d64..5352a8e6893f2f2b98bfd8d3d06f73ea205d6632 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 }}'