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

ansible-playbooks/general#72 Go back to includes for main.yml files

parent 76be02b4
No related branches found
No related tags found
No related merge requests found
...@@ -8,20 +8,19 @@ ...@@ -8,20 +8,19 @@
- 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
when: hostname != "localhost" and inventory_hostname != "localhost" when: hostname != "localhost" and inventory_hostname != "localhost"
tags: 'always'
- name: "Tunnel keys" - name: "Tunnel keys"
include_tasks: tunnel_keys.yml include: tunnel_keys.yml
when: ssh_tunnel is defined when: ssh_tunnel is defined
tags: 'Keys' tags: 'Keys'
- 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