forked from CCCHH/ansible-infra
unbound(role): fix some unbound setup stuff
This commit is contained in:
parent
8d9cb0007c
commit
32caa40f77
2 changed files with 8 additions and 0 deletions
|
|
@ -16,3 +16,8 @@
|
|||
name: prometheus-unbound-exporter.service
|
||||
state: restarted
|
||||
enabled: true
|
||||
|
||||
- name: systemd-daemon-reload
|
||||
become: true
|
||||
ansible.builtin.systemd_service:
|
||||
daemon_reload: true
|
||||
|
|
|
|||
|
|
@ -40,6 +40,9 @@
|
|||
deploy_systemd_resolved_config__dns:
|
||||
- 127.0.0.1
|
||||
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- name: ensure unbound is running and enabled
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue