From a8d457945320fa279a2462af10c8d13c3c880d3d Mon Sep 17 00:00:00 2001 From: AndrewPaglusch Date: Sun, 15 Jan 2023 23:17:33 -0600 Subject: [PATCH] allow adding extra config for lighthouse node --- defaults/main.yml | 1 + templates/lighthouse_config.yml.j2 | 2 ++ 2 files changed, 3 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 27f5874..81e90cb 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -13,6 +13,7 @@ nebula_lighthouse_hostname: lighthouse nebula_lighthouse_internal_ip_addr: 192.168.77.1 nebula_lighthouse_public_hostname: my-nebula-server.com nebula_lighthouse_public_port: 4242 +nebula_lighthouse_extra_config: {} nebula_inbound_rules: - { port: "any", proto: "any", host: "any" } diff --git a/templates/lighthouse_config.yml.j2 b/templates/lighthouse_config.yml.j2 index 9b0a1f9..af8f190 100644 --- a/templates/lighthouse_config.yml.j2 +++ b/templates/lighthouse_config.yml.j2 @@ -29,6 +29,8 @@ lighthouse: # # - "192.168.77.1" + {{ nebula_lighthouse_extra_config | to_nice_yaml | indent(2) }} + listen: # 0.0.0.0 means "all interfaces," which is probably what you want #