mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
Fix method exists in sysrc (#10005)
* Fix method exists. * Add changelog fragment. * Update the exists method to pass the present method tests. * Replace f-string formatting. * Update changelogs/fragments/10005-fix-method-exists-in-sysrc.yml Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * Add comment to the method exists. * Update plugins/modules/sysrc.py Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * Update changelogs/fragments/10005-fix-method-exists-in-sysrc.yml Co-authored-by: Felix Fontein <felix@fontein.de> * The improved comment formatting fixed. --------- Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
8910555983
commit
e0a283bb36
2 changed files with 16 additions and 12 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- sysrc - no longer always reporting ``changed=true`` when ``state=absent``. This fixes the method ``exists()`` (https://github.com/ansible-collections/community.general/issues/10004, https://github.com/ansible-collections/community.general/pull/10005).
|
Loading…
Add table
Add a link
Reference in a new issue