diff --git a/roles/up2date_debian/tasks/main.yml b/roles/up2date_debian/tasks/main.yml index 2d4a22e..02def13 100644 --- a/roles/up2date_debian/tasks/main.yml +++ b/roles/up2date_debian/tasks/main.yml @@ -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