unbound(role): fix unbound prometheus exporter install on debian
- download debian image from github und verify checksum - setup systemd service unit
This commit is contained in:
parent
aec4ea4090
commit
eb186c4152
3 changed files with 65 additions and 13 deletions
|
|
@ -31,13 +31,6 @@
|
|||
group: unbound
|
||||
mode: u=rw,g=r,o=r
|
||||
|
||||
- name: ensure unbound is running and enabled
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
name: unbound.service
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: disable systemd-resolved
|
||||
when: unbound_disable_systemd_networkd
|
||||
ansible.builtin.include_role:
|
||||
|
|
@ -47,6 +40,13 @@
|
|||
deploy_systemd_resolved_config__dns:
|
||||
- 127.0.0.1
|
||||
|
||||
- name: ensure unbound is running and enabled
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
name: unbound.service
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: install and configure prometheus-exporter for unbound
|
||||
ansible.builtin.import_tasks: prometheus-exporter.yml
|
||||
when: unbound_install_prometheus_exporter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue