Rescue task should always report status changed

This commit is contained in:
Raphael Dannecker 2025-03-28 12:02:35 +01:00
parent d9cd758b8e
commit 7eb8fa62d1

View file

@ -16,8 +16,7 @@
- name: Looks like dpkg was interrupted, configure manually
ansible.builtin.command:
cmd: dpkg --configure -a
register: dpkg_configure_result
changed_when: dpkg_configure_result.rc != 0
changed_when: true
- name: Try again to upgrade packages
ansible.builtin.apt:
upgrade: dist