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

Exclude localhost from initial provisioning

parent dc52bba0
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@
path=/home/{{ tunnel_user_name }}/.ssh/fresh_auth_keys_tunnel_{{ inventory_hostname }}
delegate_to: '{{ item }}'
with_items: groups.all
when: item != "localhost"
when: item != "localhost" and inventory_hostname != "localhost"
- name: "Keys | Merge all public keys"
shell: cat /home/{{ item }}/.ssh/fresh_auth_keys* > /home/{{ item }}/.ssh/auth_keys_fresh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment