Fix issue
This commit is contained in:
parent
3398b5524c
commit
56e60c0a28
2 changed files with 0 additions and 8 deletions
roles/inspircd
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
|
||||
- name: generate /etc/inspircd/spanningtree.pw
|
||||
set_fact:
|
||||
inspircd_link_sendpass: "{{ lookup('password', '/etc/inspircd/spanningtree.pw') }}"
|
||||
|
||||
- name: render /etc/inspircd/inspircd.conf
|
||||
template:
|
||||
src: etc/inspircd/inspircd.conf.2
|
||||
|
|
|
@ -93,11 +93,7 @@
|
|||
ipaddr="{{ link.ipaddr }}"
|
||||
allowmask="{{ link.allowcidr | join(' ') }}"
|
||||
sendpass="{{ inspircd_link_sendpass }}"
|
||||
{% if link.recvpass is defined %}
|
||||
recvpass="{{ link.recvpass }}"
|
||||
{% else %}
|
||||
recvpass="{{ hostvars[link.ansible_inventory_name|default(name)].inspircd_link_sendpass }}"
|
||||
{% endif %}
|
||||
{% if 'bind' in link %}bind="{{ link.bind }}"{% endif %}
|
||||
{% if 'fingerprint' in link %}fingerprint="{{ link.fingerprint }}"{% endif %}
|
||||
{% if 'hidden' in link %}hidden="{{ link.hidden | ternary('yes', 'no') }}"{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue