2022-12-05 01:25:34 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Render /etc/prometheus/dnssec-exporter/config.yaml
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: etc/prometheus/dnssec-exporter/config.yaml.j2
|
|
|
|
dest: /etc/prometheus/dnssec-exporter/config.yaml
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
notify: restart prometheus-dnssec-exporter
|
|
|
|
|
|
|
|
- name: Render /etc/default/prometheus-dnssec-exporter
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: etc/default/prometheus-dnssec-exporter.j2
|
2022-12-05 01:37:43 +01:00
|
|
|
dest: /etc/default/prometheus-dnssec-exporter
|
2022-12-05 01:25:34 +01:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
notify: restart prometheus-dnssec-exporter
|
|
|
|
|
|
|
|
- name: Start and enable prometheus-dnssec-exporter
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: prometheus-dnssec-exporter
|
|
|
|
state: started
|
|
|
|
enabled: yes
|