mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[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:
parent
9d8fac08bb
commit
a5ae69c701
27 changed files with 134 additions and 110 deletions
|
@ -175,8 +175,8 @@ def pack_repo_states_for_return(states):
|
|||
|
||||
def main():
|
||||
module_args = dict(
|
||||
name=dict(type='list', elements='str', required=False, default=[]),
|
||||
state=dict(type='str', required=False, choices=['enabled', 'disabled'], default='enabled')
|
||||
name=dict(type='list', elements='str', default=[]),
|
||||
state=dict(type='str', choices=['enabled', 'disabled'], default='enabled')
|
||||
)
|
||||
|
||||
result = dict(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue