22 lines
631 B
YAML
22 lines
631 B
YAML
# Headscale service configuration
|
|
headscale_subdomain: headscale
|
|
headscale_port: 8080
|
|
headscale_grpc_port: 50443
|
|
|
|
# Version
|
|
headscale_version: "0.26.1"
|
|
|
|
# Caddy
|
|
caddy_sites_dir: /etc/caddy/sites-enabled
|
|
|
|
# Data directory
|
|
headscale_data_dir: /var/lib/headscale
|
|
|
|
# Remote access
|
|
remote_host: "{{ groups['vipy'][0] }}"
|
|
remote_user: "{{ hostvars[remote_host]['ansible_user'] }}"
|
|
remote_key_file: "{{ hostvars[remote_host]['ansible_ssh_private_key_file'] | default('') }}"
|
|
|
|
# Local backup
|
|
local_backup_dir: "{{ lookup('env', 'HOME') }}/headscale-backups"
|
|
backup_script_path: "{{ lookup('env', 'HOME') }}/.local/bin/headscale_backup.sh"
|