added unbound as nameserver software
This commit is contained in:
12
roles/nameserver/tasks/install_unbound.yml
Normal file
12
roles/nameserver/tasks/install_unbound.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: nameserver | unbound | install packages
|
||||
package:
|
||||
name: "{{ unbound_package }}"
|
||||
state: present
|
||||
|
||||
- name: nameserver | unbound | copy config
|
||||
template:
|
||||
src: "unbound_network.conf.j2"
|
||||
dest: "etc/unbound/unbound.conf.d/network.conf"
|
||||
mode: "0644"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
Reference in New Issue
Block a user