Updated headscale version and new config file format
This commit is contained in:
parent
1130524913
commit
c99ca23d16
@ -13,13 +13,13 @@
|
||||
- "joe"
|
||||
- "fail2ban"
|
||||
|
||||
#- name: Download headscale .deb
|
||||
# get_url:
|
||||
# url="https://github.com/juanfont/headscale/releases/download/v0.22.3/headscale_0.22.3_linux_arm64.deb"
|
||||
# dest="/tmp/headscale.deb"
|
||||
- name: Download headscale .deb
|
||||
get_url:
|
||||
url="https://github.com/juanfont/headscale/releases/download/v0.24.0/headscale_0.24.0_linux_arm64.deb"
|
||||
dest="/tmp/headscale.deb"
|
||||
|
||||
#- name: Install my_package
|
||||
# apt: deb="/tmp/headscale.deb"
|
||||
- name: Install my_package
|
||||
apt: deb="/tmp/headscale.deb"
|
||||
|
||||
- name: determine name of host
|
||||
ansible.builtin.set_fact:
|
||||
|
@ -10,12 +10,14 @@ private_key_path: /var/lib/headscale/private.key
|
||||
noise:
|
||||
private_key_path: /var/lib/headscale/noise_private.key
|
||||
# IP ranges & dns
|
||||
ip_prefixes:
|
||||
- fd7a:115c:a1e0::/48
|
||||
- 10.13.100.0/24
|
||||
dns_config:
|
||||
override_local_dns: true
|
||||
# IP ranges & dns
|
||||
prefixes:
|
||||
v6: fd7a:115c:a1e0::/48
|
||||
v4: 10.13.100.0/24
|
||||
dns:
|
||||
#override_local_dns: true
|
||||
nameservers:
|
||||
global:
|
||||
- 1.1.1.1
|
||||
magic_dns: true
|
||||
base_domain: {{ headscale_base_domain }}
|
||||
@ -28,13 +30,16 @@ derp:
|
||||
region_code: "aws-headscale-maecki"
|
||||
region_name: "aws-headscale-maecki"
|
||||
stun_listen_addr: "0.0.0.0:3478"
|
||||
private_key_path: /var/lib/headscale/derp_server_private.key
|
||||
paths: []
|
||||
auto_update_enabled: false
|
||||
update_frequency: 24h
|
||||
|
||||
# DB
|
||||
db_type: sqlite3
|
||||
db_path: /var/lib/headscale/db.sqlite
|
||||
database:
|
||||
type: sqlite3
|
||||
sqlite:
|
||||
path: /var/lib/headscale/db.sqlite
|
||||
|
||||
# TLS
|
||||
acme_url: https://acme-v02.api.letsencrypt.org/directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user