unbound: Refactor variables
This commit is contained in:
parent
ec4812a157
commit
8a9fd29c72
3 changed files with 6 additions and 7 deletions
|
@ -12,7 +12,7 @@
|
|||
ansible.builtin.command:
|
||||
argv:
|
||||
- unbound-control-setup
|
||||
creates: "{{ unbound_control_key }}"
|
||||
creates: "{{ unbound_confdir }}/unbound_control.key"
|
||||
notify: Restart unbound
|
||||
|
||||
- name: Copy zone files
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
- name: Copy config
|
||||
ansible.builtin.template:
|
||||
dest: "{{ unbound_conf }}"
|
||||
dest: "{{ unbound_confdir }}/unbound.conf"
|
||||
src: "unbound.conf.{{ inventory_hostname }}.j2"
|
||||
mode: "0644"
|
||||
owner: root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue