unbound: Allow setting config name
This commit is contained in:
parent
06889e36b2
commit
911f22d3a5
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
- name: Copy config
|
||||
ansible.builtin.template:
|
||||
dest: "{{ unbound_confdir }}/unbound.conf"
|
||||
src: "unbound.conf.{{ inventory_hostname }}.j2"
|
||||
src: "{{ unbound_config | default('unbound.conf.' + inventory_hostname + '.j2') }}"
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue