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