Skip to content

Commit

Permalink
don't use ts authkey as part of the state (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanspw authored Jul 23, 2024
1 parent e219067 commit a4cffc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ common_packages:
- yum-utils

# common headscale/tailscale client vars
tailscale_authkey: "{{ lookup('env', 'TAILSCALE_KEY') }}"
# don't use authkey as part of the state, so we don't have to always pass them
auth_key_in_state: false
# value of default here doesn't matter
tailscale_authkey: "{{ lookup('env', 'TAILSCALE_KEY', default='alma') }}"
tailscale_args:
"--reset --hostname {{ inventory_hostname }}
--login-server='{{ lookup('community.hashi_vault.hashi_vault',
Expand Down

0 comments on commit a4cffc2

Please sign in to comment.