patchback[bot]
e5f9516335
[PR #11741/e59888dd backport][stable-12] Ensure standard locale in run_command (group3-batch3) ( #11756 )
...
Ensure standard locale in run_command (group3-batch3) (#11741 )
* run_command locale group3 batch3: normalise to LANGUAGE=C, LC_ALL=C
* fix changelog fragment: bugfixes, American English, separate code spans
* fix changelog fragment: correct PR number (11741)
---------
(cherry picked from commit e59888dd7e )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com >
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 15:34:34 +02:00
patchback[bot]
b769b0bc01
[PR #11400/236b9c0e backport][stable-12] Sort imports with ruff check --fix ( #11409 )
...
Sort imports with ruff check --fix (#11400 )
Sort imports with ruff check --fix.
(cherry picked from commit 236b9c0e04 )
Co-authored-by: Felix Fontein <felix@fontein.de >
2026-01-09 19:36:52 +01:00
patchback[bot]
41f815be57
[PR #11344/543329ce backport][stable-12] batch 4 - update Python idiom to 3.7 using pyupgrade ( #11350 )
...
batch 4 - update Python idiom to 3.7 using pyupgrade (#11344 )
* batch 4 - update Python idiom to 3.7 using pyupgrade
* add changelog frag
* bring back sanity
* remove unused import
(cherry picked from commit 543329cecb )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com >
2025-12-30 16:31:29 +01:00
patchback[bot]
1eca76969a
[PR #11055/a9a4f890 backport][stable-12] remove required=false from docs ( #11065 )
...
remove required=false from docs (#11055 )
(cherry picked from commit a9a4f89033 )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com >
2025-11-09 09:59:07 +01:00
Felix Fontein
340ff8586d
Reformat everything.
2025-11-01 13:46:53 +01:00
Alexei Znamensky
adcc683da7
modules [t-z]*: use f-strings ( #10978 )
...
* modules [t-z]*: use f-strings
* add changelog frag
* remove extraneous file
2025-10-26 22:36:03 +13:00
Alexei Znamensky
3b83df3f79
modules: update code to python3 ( #10904 )
...
* modules: update code to python3
* pamd: rollback changes
* add changelog frag
* fix/improve assignments using generators
* Update plugins/modules/launchd.py
Co-authored-by: Felix Fontein <felix@fontein.de >
---------
Co-authored-by: Felix Fontein <felix@fontein.de >
2025-10-13 21:42:48 +02:00
Felix Fontein
8f8a0e1d7c
Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files ( #10886 )
...
* Adjust all __future__ imports:
for i in $(grep -REl "__future__.*absolute_import" plugins/ tests/); do
sed -e 's/from __future__ import .*/from __future__ import annotations/g' -i $i;
done
* Remove all UTF-8 encoding specifications for Python source files:
for i in $(grep -REl '[-][*]- coding: utf-8 -[*]-' plugins/ tests/); do
sed -e '/^# -\*- coding: utf-8 -\*-/d' -i $i;
done
* Remove __metaclass__ = type:
for i in $(grep -REl '__metaclass__ = type' plugins/ tests/); do
sed -e '/^__metaclass__ = type/d' -i $i;
done
2025-10-10 19:52:04 +02:00
Marc Urben
177b385dfb
Add support for gpg-auto-import-keys option to zypper ( #10661 )
...
* Add support for gpg-auto-import-keys option to zypper
* Add changelog fragment
* Add missing module argument_spec
* Improving documentation
* Improve changelog fragment
2025-08-23 18:38:00 +02:00
Alexei Znamensky
3b551f92fc
arg_spec adjustments: modules [t-z]* ( #10513 )
...
* arg_spec adjustments: modules [t-z]*
* add changelog frag
2025-08-01 10:56:00 +02:00
mk2km
80252b29f8
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 >
2025-04-19 09:00:00 +02:00
Alexei Znamensky
7c54c70301
xyz*: style adjustments ( #9513 )
2025-01-04 12:29:34 +13:00
Eric
825e0ee377
zypper: add simple_errors option - fixes #8416 ( #9270 )
...
* zypper: add simple_errors option -fixes #8416
* Fix style issues
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de >
* Fix indentation
* Add changelog fragment
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de >
* Updated as per code review recommendations
* Fix whitespace
* Add quiet option, fix logic, update changelog
* Fix trailing whitespace
* Update plugins/modules/zypper.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Add suggested improvements
---------
Co-authored-by: Eric Hoogeveen <eric.hoogeveen@ssc-spc.gc.ca >
Co-authored-by: Felix Fontein <felix@fontein.de >
2024-12-25 09:48:56 +01:00
Alexei Znamensky
e809a25486
zypper: adjust docs ( #9307 )
...
* adjust docs
* Update plugins/modules/zypper.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/modules/zypper.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/modules/zypper_repository.py
Co-authored-by: Felix Fontein <felix@fontein.de >
---------
Co-authored-by: Felix Fontein <felix@fontein.de >
2024-12-23 09:28:19 +01:00
Alex
f4d8168131
Typo fix ( #7427 )
...
* Fix typos in proxmox modules
* Fix typos on gitlab modules
* Fix typo
2023-10-25 22:05:37 +02:00
Felix Fontein
ccdcf70d69
Use semantic markup (modules t-z) ( #6698 )
...
* Use semantic markup.
* Fix escaping.
2023-06-18 19:48:01 +02:00
tover99
a9fd9f8982
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 >
2023-05-22 06:24:53 +02:00
andre161292
2c762c4753
Added support for openSUSE MicroOS ( #5998 )
...
* fix(zypper): Added condition to check for transactional-update binary to support microos
closes #5615
* style(changelog): Made zypper-change uppercase
Co-authored-by: Felix Fontein <felix@fontein.de >
* fix(zypper): Removed check for /var/lib/misc/transactional-update.state
* feat(zypper): Aligned transactional-update checks with zypper's
* refactor(zypper): Removed dependency to psutil and made use of parsing /proc/mount
* refactor(zypper): Removed need for regex, plus small refactoring
---------
Co-authored-by: André Dörscheln <ad@itesign.de >
Co-authored-by: Felix Fontein <felix@fontein.de >
2023-02-25 10:58:04 +01:00
Felix Fontein
3ec2fde2c6
Add attributes to package manager modules ( #5954 )
...
Add attributes to package manager modules.
2023-02-24 09:25:20 +01:00
Felix Fontein
b531ecdc9b
Unflatmap community.general ( #5461 )
...
* Move files.
* Update imports and references.
* Move wrongly placed files.
* Reverse redirects, deprecate long → short name redirects.
* Simplify contribution guidelines for new modules.
* Rewrite BOTMETA.
* Add changelog fragment.
* Fix ignore.txt files.
2022-11-02 20:42:29 +00:00
Felix Fontein
7743ecd776
Replace symlinks with meta/runtime.yml redirects. ( #4562 )
2022-04-26 20:33:13 +02:00
Brian Coca
8f90360d49
make collection usable with current ansible vers ( #9 )
2020-03-11 14:10:38 +00:00