2026-10-02 21:34:01 +04:00
|
|
|
---
|
|
|
|
|
- name: install unbound
|
|
|
|
|
ansible.builtin.apt:
|
|
|
|
|
name: unbound
|
|
|
|
|
state: latest
|
|
|
|
|
update_cache: true
|
2026-10-18 12:34:19 +04:00
|
|
|
notify: restart unbound
|
2026-10-02 21:34:01 +04:00
|
|
|
|
|
|
|
|
- name: deploy unbound config
|
|
|
|
|
ansible.builtin.copy:
|
|
|
|
|
src: "{{ inventory_hostname }}/unbound.conf"
|
|
|
|
|
dest: /etc/unbound/unbound.conf
|
|
|
|
|
mode: "0744"
|
|
|
|
|
notify: restart unbound
|