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]
8a7f360558
[PR #11143/23e81b8d backport][stable-12] replace redundant to_native()/to_text() occurrences, batch 8 ( #11164 )
...
replace redundant to_native()/to_text() occurrences, batch 8 (#11143 )
* replace redundant to_native()/to_text() occurrences, batch 8
* add changelog frag
* Update plugins/modules/jira.py
---------
(cherry picked from commit 23e81b8d30 )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-11-16 07:09:40 +01:00
patchback[bot]
15d4fff749
[PR #11144/5617d57c backport][stable-12] xcc_redfish_command: fix messages showing dict keys ( #11162 )
...
xcc_redfish_command: fix messages showing dict keys (#11144 )
* xcc_redfish_command: fix messages showing dict keys
* add changelog frag
* Update plugins/modules/xcc_redfish_command.py
* Update plugins/modules/xcc_redfish_command.py
* Apply suggestions from code review
* Update plugins/modules/xcc_redfish_command.py
---------
(cherry picked from commit 5617d57c8c )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-11-15 23:17:16 +01:00
patchback[bot]
f1d9a2b134
[PR #11110/996d9a7f backport][stable-12] replace batch 6 of redundant to_native()/to_text() occurrences ( #11141 )
...
replace batch 6 of redundant to_native()/to_text() occurrences (#11110 )
* replace batch 6 of redundant to_native()/to_text() occurrences
* add changelog frag
(cherry picked from commit 996d9a7f63 )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-11-12 21:59:18 +01:00
patchback[bot]
b72e38c909
[PR #11115/58bb1e7c backport][stable-12] fix ruff case B007 ( #11131 )
...
fix ruff case B007 (#11115 )
* fix ruff case B007
* rollback inventory/iocage
* re-do the fix in inventory/iocage
* add cases in tests/unit/plugins
* rollback plugins/module_utils/memset.py
* rollback extraneous changes in plugins/modules/xcc_redfish_command.py
* add changelog frag
(cherry picked from commit 58bb1e7c04 )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-11-12 21:58:36 +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
Alexei Znamensky
7b05484d8f
doc style adjustments: modules [rtuvx]* ( #10466 )
...
* doc style adjustments: modules r*
* doc style adjustments: modules t*
* doc style adjustments: modules u*
* doc style adjustments: modules v*
* doc style adjustments: modules x*
* Update plugins/modules/redis_data.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-27 15:59:49 +02:00
Felix Fontein
1375cb65d6
Unify TLS/SSL config for Redfish modules with new common argument spec and docs fragment; add validate_certs and ca_path options ( #9964 )
...
Unify TLS/SSL config for Redfish modules with new common argument spec and docs fragment.
2025-04-10 07:08:04 +02:00
Alexei Znamensky
7c54c70301
xyz*: style adjustments ( #9513 )
2025-01-04 12:29:34 +13:00
Alexei Znamensky
2f82bd8ece
Adjust doc style ( #9435 )
...
* adjust doc style
* Update plugins/modules/swupd.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* restore sanity
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-29 00:25:12 +01:00
Alexei Znamensky
f9bfe4e4a6
x*: adjust docs ( #9308 )
...
* adjust docs
* Update plugins/modules/xml.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* fix capitalisation
* add markup to references of the xe command (xenserver)
* add missing markup
* Update plugins/modules/xml.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-23 18:58:02 +01:00
Andrei Sucu
98181fb8cb
Implemented raw_post without actions ( #7746 )
...
* implemented raw_post without actions
* fixed identation
* added changelog fragment
* Update changelogs/fragments/7746-raw_post-without-actions.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-28 18:11:43 +01:00
Felix Fontein
755a49692d
Add attributes to remove management modules ( #5961 )
...
Add attributes to remove management modules.
2023-02-20 17:28:13 +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
panyy3
04f46f0435
add new module xcc_redfish_command to manage Lenovo servers using Redfish APIs ( #2007 )
...
* add new module xcc_redfish_command to manage Lenovo servers using Redfish APIs
* Update plugins/modules/remote_management/lenovoxcc/xcc_redfish_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* fix some errors detected by ansible-test sanity
* end all descriptions (except short_description) with a period
* fix return definition problem and other errors detected by ansible-test sanity
* Always use true/false for booleans in YAML
* It is usually a good idea to leave away required: false
* fix errors detected by ansible-test sanity
* fix elements of command is not defined
* check whether resource_uri is specified for Raw commands
* if no Members property, return false; if empty array, return true
* get @odata.etag from patch body instead of getting again
* add request_body checking
* add unit test for the module
* fix errors detected by ansible-test sanity --test pep8
* update class name xcc_RedfishUtils to XCCRedfishUtils to follow convention; import AnsibleExitJson, AnsibleFailJson, ModuleTestCase, set_module_args, exit_json, fail_json from ansible_collections.community.general.tests.unit.plugins.modules.utils instead of inline them
* support using security token for auth
* fix line too long error
* As 2.3.0 got released yesterday, move to 2.4.0
* add maintainers for lenovoxcc
* update to make sure that it's sorted alphabetically
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-03-24 15:07:17 +01:00