pkgng: fix error-handling when upgrading all (#5369)

* pkgng: fix error-handling when upgrading all

* provide for rc=1 in check_mode + test

* fix name of task in test

* add changelog fragment
This commit is contained in:
Alexei Znamensky
2022-10-23 22:42:53 +13:00
committed by GitHub
parent 389dfe9f09
commit baa8bd52ab
3 changed files with 42 additions and 10 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- pkgng - fix case when ``pkg`` fails when trying to upgrade all packages (https://github.com/ansible-collections/community.general/issues/5363).