---
- name: restart snmp_exporter
  systemd:
    name: "{{ snmp_exporter_service_name }}"
    daemon_reload: true
    state: restarted