1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-14 16:05:04 +00:00

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

* arg_spec adjustments: modules [a-f]*

* add changelog frag

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

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Alexei Znamensky 2025-07-29 04:44:25 +12:00 committed by GitHub
parent de0618b843
commit 736ce1983d
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,
)