summaryrefslogtreecommitdiff
path: root/deploy-vpn-tags.yml
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-04 01:40:27 -0500
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-04 01:40:27 -0500
commitfdd85fb7355d43cf185d79d1f35de9d7d647e0c5 (patch)
treefe8c902bdc774267f69a0914736e1be2695ff309 /deploy-vpn-tags.yml
parente67eff6accda5ca38b558ebf0f799993d0f3aaee (diff)
downloadoldinfra-fdd85fb7355d43cf185d79d1f35de9d7d647e0c5.tar.gz
oldinfra-fdd85fb7355d43cf185d79d1f35de9d7d647e0c5.zip
add sso login
Diffstat (limited to 'deploy-vpn-tags.yml')
-rw-r--r--deploy-vpn-tags.yml23
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"