24 lines
714 B
YAML
24 lines
714 B
YAML
|
- 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"
|