summaryrefslogtreecommitdiff
path: root/roles/vpn/templates/config.yml.j2
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-04 02:14:29 -0500
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-04 13:57:33 -0500
commitb62d5f559b81556a1dd6197c72a0c43ba1744477 (patch)
tree0c1801c8544ed50fe798e6f2d06b6049a2fbad6d /roles/vpn/templates/config.yml.j2
parentfdd85fb7355d43cf185d79d1f35de9d7d647e0c5 (diff)
downloadoldinfra-b62d5f559b81556a1dd6197c72a0c43ba1744477.tar.gz
oldinfra-b62d5f559b81556a1dd6197c72a0c43ba1744477.zip
add acl in json
Diffstat (limited to 'roles/vpn/templates/config.yml.j2')
-rw-r--r--roles/vpn/templates/config.yml.j25
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/vpn/templates/config.yml.j2 b/roles/vpn/templates/config.yml.j2
index 926a84f..4f815f4 100644
--- a/roles/vpn/templates/config.yml.j2
+++ b/roles/vpn/templates/config.yml.j2
@@ -160,7 +160,7 @@ log:
# Path to a file containg ACL policies.
# ACLs can be defined as YAML or HUJSON.
# https://tailscale.com/kb/1018/acls/
-acl_policy_path: "/etc/headscale/acl.yml"
+acl_policy_path: "/etc/headscale/acl.json"
## DNS
#
@@ -264,8 +264,7 @@ oidc:
# - admins
# - people
# Optional.
- allowed_users:
- - "{{ headscale_allowed_users }}"
+ allowed_users: {{ headscale_allowed_users }}
# If `strip_email_domain` is set to `true`, the domain part of the username email address will be removed.
# This will transform `first-name.last-name@example.com` to the user `first-name.last-name`