2025-10-22 23:58:38 +02:00
|
|
|
# Headscale service configuration
|
2025-11-06 23:09:44 +01:00
|
|
|
# (subdomain and caddy_sites_dir now in services_config.yml)
|
|
|
|
|
|
2025-10-22 23:58:38 +02:00
|
|
|
headscale_port: 8080
|
|
|
|
|
headscale_grpc_port: 50443
|
|
|
|
|
|
|
|
|
|
# Version
|
|
|
|
|
headscale_version: "0.26.1"
|
|
|
|
|
|
|
|
|
|
# Data directory
|
|
|
|
|
headscale_data_dir: /var/lib/headscale
|
|
|
|
|
|
2025-11-14 23:36:00 +01:00
|
|
|
# Namespace now configured in services_config.yml under service_settings.headscale.namespace
|
|
|
|
|
|
2025-10-22 23:58:38 +02:00
|
|
|
# Remote access
|
2025-12-01 11:16:47 +01:00
|
|
|
remote_host_name: "spacey"
|
|
|
|
|
remote_host: "{{ hostvars.get(remote_host_name, {}).get('ansible_host', remote_host_name) }}"
|
|
|
|
|
remote_user: "{{ hostvars.get(remote_host_name, {}).get('ansible_user', 'counterweight') }}"
|
|
|
|
|
remote_key_file: "{{ hostvars.get(remote_host_name, {}).get('ansible_ssh_private_key_file', '') }}"
|
|
|
|
|
remote_port: "{{ hostvars.get(remote_host_name, {}).get('ansible_port', 22) }}"
|
2025-10-22 23:58:38 +02:00
|
|
|
|
|
|
|
|
# Local backup
|
|
|
|
|
local_backup_dir: "{{ lookup('env', 'HOME') }}/headscale-backups"
|
|
|
|
|
backup_script_path: "{{ lookup('env', 'HOME') }}/.local/bin/headscale_backup.sh"
|