mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
[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:
parent
5c5774b7b5
commit
2dbcfaa650
42 changed files with 210 additions and 205 deletions
|
@ -697,11 +697,11 @@ def manage_spells(module):
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
name=dict(default=None, aliases=['spell', 'grimoire'], type='list', elements='str'),
|
||||
repository=dict(default=None, type='str'),
|
||||
name=dict(aliases=['spell', 'grimoire'], type='list', elements='str'),
|
||||
repository=dict(type='str'),
|
||||
state=dict(default='present', choices=['present', 'latest',
|
||||
'absent', 'cast', 'dispelled', 'rebuild']),
|
||||
depends=dict(default=None),
|
||||
depends=dict(),
|
||||
update=dict(default=False, type='bool'),
|
||||
update_cache=dict(default=False, aliases=['update_codex'], type='bool'),
|
||||
cache_valid_time=dict(default=0, type='int')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue