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

Replace deprecated "include" directive in Ansible 2.4

parent e07b7ac3
No related branches found
No related tags found
No related merge requests found
...@@ -8,17 +8,17 @@ ...@@ -8,17 +8,17 @@
- block: - block:
- name: "Reset all hosts" - name: "Reset all hosts"
include: reset.yml include_tasks: reset.yml
with_items: '{{ groups.all }}' with_items: '{{ groups.all }}'
loop_control: loop_control:
loop_var: hostname loop_var: hostname
when: hostname != "localhost" and inventory_hostname != "localhost" when: hostname != "localhost" and inventory_hostname != "localhost"
- name: "Tunnel keys" - name: "Tunnel keys"
include: tunnel_keys.yml include_tasks: tunnel_keys.yml
- name: "User keys" - name: "User keys"
include: user_keys.yml include_tasks: 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