add headspace
This commit is contained in:
parent
bade56a1a8
commit
1ca6d3e13c
4 changed files with 366 additions and 0 deletions
22
ansible/services/headscale/headscale_vars.yml
Normal file
22
ansible/services/headscale/headscale_vars.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue