This commit is contained in:
counterweight 2025-12-08 10:34:04 +01:00
parent c14d61d090
commit 0b578ee738
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
11 changed files with 779 additions and 929 deletions

View file

@ -99,7 +99,6 @@
--login-server {{ headscale_domain }}
--authkey {{ auth_key }}
--accept-dns=true
--advertise-tags "tag:{{ inventory_hostname }}"
register: tailscale_up_result
changed_when: "'already authenticated' not in tailscale_up_result.stdout"
failed_when: tailscale_up_result.rc != 0 and 'already authenticated' not in tailscale_up_result.stdout
@ -117,3 +116,9 @@
debug:
msg: "{{ tailscale_status.stdout_lines }}"
- name: Deny all inbound traffic from Tailscale network interface
ufw:
rule: deny
direction: in
interface: tailscale0