docs: added attributes metadata for check_mode support (fixes #643) (#741) (#747)

(cherry picked from commit 9cd0a1f0ef)

Co-authored-by: Patrick Kingston <66141901+pkingstonxyz@users.noreply.github.com>
Co-authored-by: jkhall81 <jason.kei.hall@gmail.com>
This commit is contained in:
Hideki Saito
2026-05-27 14:18:58 +09:00
committed by GitHub
parent d9af430396
commit 955acdca44
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
---
trivial:
- sysctl - added the attributes section to the module documentation to reflect check_mode support (https://github.com/ansible-collections/ansible.posix/issues/643).

View File

@@ -56,6 +56,17 @@ options:
- Verify token value with the sysctl command and set with C(-w) if necessary.
type: bool
default: false
attributes:
check_mode:
support: full
description: Can run in check_mode and return changed status prediction without modifying target.
diff_mode:
support: none
description: Does not support differences output.
platform:
platforms: posix
support: full
description: Supported on POSIX-compliant systems.
author:
- David CHANIAL (@davixx)
'''