[PR #10494/736ce198 backport][stable-11] arg_spec adjustments: modules [a-f]* (#10501)

arg_spec adjustments: modules [a-f]* (#10494)

* arg_spec adjustments: modules [a-f]*

* add changelog frag

* Update changelogs/fragments/10494-rfdn-1.yml



---------


(cherry picked from commit 736ce1983d)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2025-07-28 18:59:32 +02:00 committed by GitHub
commit a5ae69c701
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 134 additions and 110 deletions

View file

@ -166,11 +166,11 @@ def main():
module = AnsibleModule(
argument_spec=dict(
path=dict(required=True, type='path'),
state=dict(required=False, type='str', default='present', choices=['absent', 'present']),
holder=dict(required=False, type='str'),
divert=dict(required=False, type='path'),
rename=dict(required=False, type='bool', default=False),
force=dict(required=False, type='bool', default=False),
state=dict(type='str', default='present', choices=['absent', 'present']),
holder=dict(type='str'),
divert=dict(type='path'),
rename=dict(type='bool', default=False),
force=dict(type='bool', default=False),
),
supports_check_mode=True,
)