---
- name: Restart Prometheus
  service:
    name: prometheus
    state: restarted

- name: Restart prometheus-snmp-exporter
  service:
    name: prometheus-snmp-exporter
    state: restarted