[PR #10512/3bb7a77b backport][stable-11] arg_spec adjustments: modules [o-s]* (#10530)

arg_spec adjustments: modules [o-s]* (#10512)

* arg_spec adjustments: modules [o-s]*

* add changelog frag

(cherry picked from commit 3bb7a77b14)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2025-07-31 22:58:33 +02:00 committed by GitHub
commit 2dbcfaa650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 210 additions and 205 deletions

View file

@ -106,11 +106,11 @@ class Sysrc(StateModuleHelper):
module = dict(
argument_spec=dict(
name=dict(type='str', required=True),
value=dict(type='str', default=None),
value=dict(type='str'),
state=dict(type='str', default='present', choices=['absent', 'present', 'value_present', 'value_absent']),
path=dict(type='str', default='/etc/rc.conf'),
delim=dict(type='str', default=' '),
jail=dict(type='str', default=None)
jail=dict(type='str')
),
supports_check_mode=True
)