mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-23 04:13:05 +00:00
1d98aee69a
Signed-off-by: SuperQ <superq@gmail.com>
26 lines
493 B
YAML
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
|