mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f847531a35
added handling of zypper exitcode 102: ZYPPER_EXIT_INF_REBOOT_NEEDED (#6534)
* added handling of zypper exitcode 102: ZYPPER_EXIT_INF_REBOOT_NEEDED - Returned after a successful installation of a patch which requires reboot of computer.
The exitcode 102 will be treated exactly like 0 by the module internally now, and the changed status will be reported correctly. However, since I preserve the rc 102 in the retvals to allow the playbook to react to the requested reboot, the task must still include a "failed_when: zypper_cmd.rc not in [0, 102]" to not fail in this case.
* removed trailing whitespaces
* added changelogs fragment
* Fix typo.
Co-authored-by: Alex <alexgubin@gmx.de>
* Add URL.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alex <alexgubin@gmx.de>
(cherry picked from commit
|
||
---|---|---|
.. | ||
.keep | ||
6.6.1.yml | ||
5143-fix-xfs-quota-project-init.yml | ||
6456-fix-portage-withbdeps-false.yml | ||
6458-puppet-noop.yml | ||
6491-dconf-respawn.yml | ||
6497-terraform-fix.yml | ||
6527-nmcli-bond-fix-xmit_hash_policy.yml | ||
6534-zypper-exitcode-102-handled.yaml | ||
6548-portage-changed_use-newuse.yml | ||
6554-proxmox-tasks-info-fix-required-password.yaml | ||
deps.yml | ||
passwordstore-lock.yml |