unbound: Change static configs to templates
This commit is contained in:
parent
d7baae9aea
commit
581484d207
8 changed files with 3 additions and 3 deletions
|
@ -1 +0,0 @@
|
||||||
unbound.conf.nms01.home.foo.sh
|
|
|
@ -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 }}"
|
||||||
|
|
1
roles/unbound/templates/unbound.conf.nms02.home.foo.sh.j2
Symbolic link
1
roles/unbound/templates/unbound.conf.nms02.home.foo.sh.j2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
unbound.conf.nms01.home.foo.sh.j2
|
Loading…
Add table
Add a link
Reference in a new issue