ansible-collection-prometheus/roles/snmp_exporter/tasks/main.yml
SuperQ 1d98aee69a
Fix up ansible-lint issues.
Signed-off-by: SuperQ <superq@gmail.com>
2022-09-24 10:55:09 +02:00

26 lines
493 B
YAML

---
- include: preflight.yml
tags:
- snmp_exporter_install
- snmp_exporter_configure
- snmp_exporter_run
- include: install.yml
become: true
tags:
- snmp_exporter_install
- include: configure.yml
become: true
tags:
- snmp_exporter_configure
- name: Ensure snmp_exporter service is started and enabled
become: true
ansible.builtin.systemd:
daemon_reload: true
name: snmp_exporter
state: started
enabled: true
tags:
- snmp_exporter_run