add unbound config management
This commit is contained in:
@@ -10,6 +10,15 @@
|
||||
state: present
|
||||
when: ansible_os_family == "Archlinux"
|
||||
|
||||
- name: Install unbound.conf
|
||||
template:
|
||||
src: templates/unbound.conf.j2
|
||||
dest: /etc/unbound/unbound.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify: Restart unbound
|
||||
|
||||
- name: Enable unbound service
|
||||
service:
|
||||
name: unbound
|
||||
|
||||
1444
ansible/roles/unbound/tasks/templates/unbound.conf.j2
Normal file
1444
ansible/roles/unbound/tasks/templates/unbound.conf.j2
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user