1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-23 11:56:59 +02:00
ansible-collection-prometheus/roles/dnssec_exporter/tasks/config.yml
2022-12-05 01:25:34 +01:00

25 lines
722 B
YAML

---
- 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
dest: etc/default/prometheus-dnssec-exporter
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