community.general/plugins
patchback[bot] 6e0c62d3e2
[PR #10417/44ca3661 backport][stable-11] sysrc: refactor (#10504)
sysrc: refactor (#10417)

* sysrc: refactor

* sysrc: refactor changelog fragment

* sysrc: forgot the os import

* sysrc: update test to edit the correct file

* sysrc: Added copyright info to the test conf file

* sysrc: Added full copyright info to the test conf file

* sysrc: Detect permission denied when using sysrc

* sysrc: Fixed the permission check and 2.7 compatibility

* sysrc: Fix typo of import

* sysrc: Fix err.find check

* sysrc: Add bugfixes changelog fragment

* sysrc: Use `StateModuleHelper`

* sysrc: updated imports

* sysrc: remove re import and set errno.EACCES on the OSError

* sysrc: format code properly

* sysrc: fix Python 2.7 compatibility and set changed manually

* sysrc: add missing name format check

Also use `self.module.fail_json` through out

* sysrc: Removed os import by accident

* sysrc: updated per review, and the way the existing value is retrieved

(cherry picked from commit 44ca366173)

Co-authored-by: David Lundgren <dlundgren@syberisle.net>
2025-07-28 19:21:55 +02:00
..
action action/become/cache/callback: adjust import __future__ for Python3 (#9583) 2025-01-20 19:36:21 +01:00
become [PR #10302/580ac1e3 backport][stable-11] fix style in plugins (#10325) 2025-07-01 22:58:46 +02:00
cache [PR #10302/580ac1e3 backport][stable-11] fix style in plugins (#10325) 2025-07-01 22:58:46 +02:00
callback [PR #10345/096fa388 backport][stable-11] logstash: Remove reference to Python 2 library (#10370) 2025-07-09 06:31:16 +02:00
connection [PR #10349/4195cbb3 backport][stable-11] incus_connection: Improve error handling (#10362) 2025-07-07 21:06:14 +02:00
doc_fragments [PR #10302/580ac1e3 backport][stable-11] fix style in plugins (#10325) 2025-07-01 22:58:46 +02:00
filter [PR #10303/329c2222 backport][stable-11] fix style in plugins (#10324) 2025-07-01 22:09:45 +02:00
inventory [PR #10303/329c2222 backport][stable-11] fix style in plugins (#10324) 2025-07-01 22:09:45 +02:00
lookup [PR #10359/16d6e4a8 backport][stable-11] dependent lookup: avoid deprecated ansible-core 2.19 functionality (#10366) 2025-07-08 06:56:04 +02:00
module_utils [PR #10227/283d947f backport][stable-11] pacemaker_cluster: enhancements and add unit tests (#10408) 2025-07-14 09:55:32 +02:00
modules [PR #10417/44ca3661 backport][stable-11] sysrc: refactor (#10504) 2025-07-28 19:21:55 +02:00
plugin_utils Make ready for data tagging (#9833) 2025-04-14 19:04:26 +02:00
test Adjust YAML in plugin docs (#10234) 2025-06-16 17:46:01 +02:00