14 lines
293 B
YAML
14 lines
293 B
YAML
---
|
|
- name: install unbound
|
|
ansible.builtin.apt:
|
|
name: unbound
|
|
state: latest
|
|
update_cache: true
|
|
|
|
- name: deploy unbound config
|
|
ansible.builtin.copy:
|
|
src: "{{ inventory_hostname }}/unbound.conf"
|
|
dest: /etc/unbound/unbound.conf
|
|
mode: "0744"
|
|
notify: restart unbound
|