diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-04 01:40:27 -0500 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-04 01:40:27 -0500 |
commit | fdd85fb7355d43cf185d79d1f35de9d7d647e0c5 (patch) | |
tree | fe8c902bdc774267f69a0914736e1be2695ff309 /deploy-vpn-tags.yml | |
parent | e67eff6accda5ca38b558ebf0f799993d0f3aaee (diff) | |
download | oldinfra-fdd85fb7355d43cf185d79d1f35de9d7d647e0c5.tar.gz oldinfra-fdd85fb7355d43cf185d79d1f35de9d7d647e0c5.zip |
add sso login
Diffstat (limited to 'deploy-vpn-tags.yml')
-rw-r--r-- | deploy-vpn-tags.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/deploy-vpn-tags.yml b/deploy-vpn-tags.yml new file mode 100644 index 0000000..9e281ab --- /dev/null +++ b/deploy-vpn-tags.yml @@ -0,0 +1,23 @@ +- name: prod headscale tags + hosts: prod + tasks: + - name: add prod tags to prod servers + include_role: + name: artis3n.tailscale + vars: + tailscale_args: "--login-server='https://headscale.simponic.xyz'" + tailscale_authkey: "{{ lookup('env', 'HEADSCALE_PREAUTH_KEY') }}" + tailscale_tags: + - "prod" + +- name: private headscale tags + hosts: private + tasks: + - name: add private tags to private servers + include_role: + name: artis3n.tailscale + vars: + tailscale_args: "--login-server='https://headscale.simponic.xyz'" + tailscale_authkey: "{{ lookup('env', 'HEADSCALE_PREAUTH_KEY') }}" + tailscale_tags: + - "private" |