diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-05 16:13:01 -0500 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-05 16:13:01 -0500 |
commit | fb0b3914086484d9284426985984e2c1699ba557 (patch) | |
tree | 963a2288a3b33f389972a78efaf3b6462bbe1925 /deploy-vpn-hosts.yml | |
parent | b62d5f559b81556a1dd6197c72a0c43ba1744477 (diff) | |
download | oldinfra-fb0b3914086484d9284426985984e2c1699ba557.tar.gz oldinfra-fb0b3914086484d9284426985984e2c1699ba557.zip |
ldap, internal CA, internal webserver, dns, etc.
Diffstat (limited to 'deploy-vpn-hosts.yml')
-rw-r--r-- | deploy-vpn-hosts.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/deploy-vpn-hosts.yml b/deploy-vpn-hosts.yml new file mode 100644 index 0000000..9e281ab --- /dev/null +++ b/deploy-vpn-hosts.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" |