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

This commit is contained in:
jkhall81 2025-12-25 17:47:46 -07:00
parent 5f44339fa5
commit 943ce504dd
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)
'''