missing blocklist directive; fix host list for lighthouse
This commit is contained in:
parent
7cf58637a1
commit
acb81e0219
|
@ -9,7 +9,8 @@ pki:
|
||||||
disconnect_invalid: {{ nebula_pki_disconnect_invalid }}
|
disconnect_invalid: {{ nebula_pki_disconnect_invalid }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if nebula_pki_blocklist|length >= 1 %}
|
{% if nebula_pki_blocklist|length >= 1 %}
|
||||||
{{ nebula_pki_blocklist | to_nice_yaml(indent=2) | indent(width=2) }}
|
blocklist:
|
||||||
|
{{ nebula_pki_blocklist | to_nice_yaml(indent=2) | indent(width=4) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# static host map
|
# static host map
|
||||||
|
@ -41,7 +42,7 @@ lighthouse:
|
||||||
{% if not nebula_am_lighthouse %}
|
{% if not nebula_am_lighthouse %}
|
||||||
{% for host in ansible_play_hosts_all %}
|
{% for host in ansible_play_hosts_all %}
|
||||||
{% if (hostvars[host]['nebula_am_lighthouse']|default(false)) and (hostvars[host]['nebula_is_member']|default(true)) %}
|
{% if (hostvars[host]['nebula_am_lighthouse']|default(false)) and (hostvars[host]['nebula_is_member']|default(true)) %}
|
||||||
- {{ hostvars[host]['nebula_ip'].split('/')[0] }}
|
- '{{ hostvars[host]['nebula_ip'].split('/')[0] }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue