mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 21:30:22 -07:00
[PR #9973/80252b29 backport][stable-10] Add zypper skip post errors feature (#10016)
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>
This commit is contained in:
parent
1c1d58482c
commit
91ac9f84b8
5 changed files with 127 additions and 3 deletions
2
changelogs/fragments/9972-zypper-skip-post-errors.yml
Normal file
2
changelogs/fragments/9972-zypper-skip-post-errors.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- zypper - adds ``skip_post_errors`` that allows to skip RPM post-install errors (Zypper return code 107) (https://github.com/ansible-collections/community.general/issues/9972).
|
Loading…
Add table
Add a link
Reference in a new issue