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