- name: reload systemd systemd: daemon_reload: true - name: restart postgres exporter service: name: postgres-exporter state: restarted