diff --git a/roles/grafana_agent/handlers/main.yaml b/roles/grafana_agent/handlers/main.yaml index 799e2f41..b5b01aab 100644 --- a/roles/grafana_agent/handlers/main.yaml +++ b/roles/grafana_agent/handlers/main.yaml @@ -1,7 +1,7 @@ --- - name: Restart Grafana Agent become: true - ansible.builtin.service: + ansible.builtin.systemd: name: grafana-agent state: restarted daemon_reload: true