mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
Set firstrun to avoid use before definition (#4667)
* Set firstrun to avoid use before definition At the moment if zypper updates itself the parse_zypper_xml function calls itself with packages not None, but in check_mode zypper still needs to update itself -> rc = 103 and firstrun is undefined * Add changelog frament * Update changelogs/fragments/4651-zypper-checkmode-fix.yaml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Georg Vogt <georg.vogt@tngtech.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
bb5dfef1cc
commit
aeeb09f0da
2 changed files with 4 additions and 0 deletions
2
changelogs/fragments/4651-zypper-checkmode-fix.yaml
Normal file
2
changelogs/fragments/4651-zypper-checkmode-fix.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- zypper - fix undefined variable when running in check mode (https://github.com/ansible-collections/community.general/pull/4667).
|
Loading…
Add table
Add a link
Reference in a new issue