Commit 9eac90f8 authored by julian.gethmann's avatar julian.gethmann Committed by root
Browse files

Update SSH key to be more resilient against IPv6 changes

parent bb717ec9
......@@ -43,6 +43,7 @@ desktop_software:
# this should be the IP or in the sshd_config the "UseDNS" must be set to yes
ansible_server_ipv6: "2a00:1398:4:8200:f610:60d7:fa90:7603"
ansible_ipv6_prefix: "2a00:1398:4:8200:"
......@@ -70,7 +70,7 @@
user: root
state: present
key: "{{ rootkey }}"
key_options: 'from="{{ ansible_server }},{{ ansible_server_ipv6 }}"'
key_options: 'from="{{ ansible_server }},{{ ansible_ipv6_prefix }}*,*.{{ domains[0] }}"'
notify: restart sshd
- name: Enable tunnel
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment