mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-20 15:20:21 -07:00
Add zypper skip post errors feature (#9973)
* Add zypper skip post errors feature
* Add feature to handle zypper return code 107 with skip_post_errors (default: false).
* Add integration test to verify the skip_post_errors flag.
* Add changelog fragment
Issue: #9972
Issue-Ref: https://github.com/ansible-collections/community.general/issues/9972
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/zypper.py
* Update changelogs/fragments/9972-zypper-skip-post-errors.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/integration/targets/zypper/tasks/zypper.yml
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit 80252b29f8
)
Co-authored-by: mk2km <205020320+mk2km@users.noreply.github.com>
15 lines
191 B
RPMSpec
15 lines
191 B
RPMSpec
Summary: Post error RPM
|
|
Name: post_error
|
|
Version: 1
|
|
Release: 0
|
|
License: GPLv3
|
|
Group: Applications/System
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Post error RPM
|
|
|
|
%files
|
|
|
|
%post
|
|
exit 1
|