1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/packaging
patchback[bot] afddbaa857
openbsd_pkg: Fix KeyError (#3336) (#3406)
If package installation has an error after the package is install (e.g.
when running tags), then there will be output on stderr and the fallback
regex will match; however, since pkg_add exited non-zero, changed is
never added as a key to the dictionary. As a result the code at the end
of main that checks if anything has changed raises a KeyError.

(cherry picked from commit 02d0e3d286)

Co-authored-by: Matthew Martin <phy1729@gmail.com>
2021-09-20 19:49:48 +02:00
..
language [PR #3194/1fec1d0c backport][stable-3] Fix sanity failures (#3195) (#3196) 2021-08-12 14:17:01 +02:00
os openbsd_pkg: Fix KeyError (#3336) (#3406) 2021-09-20 19:49:48 +02:00