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 @@
- 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 }}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment