--- - name: systemctl daemon-reload become: true ansible.builtin.systemd: state: restarted daemon_reload: true name: fwupd-refresh.service when: - "'fwupd-refresh.service' in services"