unbound: Change static configs to templates

This commit is contained in:
Timo Makinen 2021-09-29 18:38:23 +00:00
parent d7baae9aea
commit 581484d207
8 changed files with 3 additions and 3 deletions

View file

@ -1 +0,0 @@
unbound.conf.nms01.home.foo.sh

View file

@ -16,9 +16,9 @@
notify: restart unbound notify: restart unbound
- name: copy config - name: copy config
copy: template:
dest: "{{ unbound_conf }}" dest: "{{ unbound_conf }}"
src: "unbound.conf.{{ inventory_hostname }}" src: "unbound.conf.{{ inventory_hostname }}.j2"
mode: 0644 mode: 0644
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"

View file

@ -0,0 +1 @@
unbound.conf.nms01.home.foo.sh.j2