--- - name: Service handler # We use the systemd module here so we can use the daemon_reload feature, # since we're shipping the .service file ourselves ansible.builtin.systemd: name: "{{ item }}" daemon_reload: true enabled: true state: restarted with_items: - 'alertmanager' - 'prometheus' when: not docker2podman | default(False) | bool