mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 04:41:26 -07:00
docker_* modules: updating argument_spec (#48491)
* Updating argument_spec for docker_* modules. * Adjust docker_network to work with new recursive argument_spec. * Adjust device IO limits to recursive argument_spec. * Improve test (test Ansible's cast from str to int). * Adjust healthcheck options construction. * Remove superfluous check. * Make flake8 happy. * Simplify comparison.
This commit is contained in:
parent
feb60b947c
commit
0206a46e1d
7 changed files with 210 additions and 80 deletions
|
@ -1033,7 +1033,7 @@ def main():
|
|||
argument_spec = dict(
|
||||
project_src=dict(type='path'),
|
||||
project_name=dict(type='str',),
|
||||
files=dict(type='list'),
|
||||
files=dict(type='list', elements='path'),
|
||||
state=dict(type='str', choices=['absent', 'present'], default='present'),
|
||||
definition=dict(type='dict'),
|
||||
hostname_check=dict(type='bool', default=False),
|
||||
|
@ -1045,7 +1045,7 @@ def main():
|
|||
stopped=dict(type='bool', default=False),
|
||||
restarted=dict(type='bool', default=False),
|
||||
scale=dict(type='dict'),
|
||||
services=dict(type='list'),
|
||||
services=dict(type='list', elements='str'),
|
||||
dependencies=dict(type='bool', default=True),
|
||||
pull=dict(type='bool', default=False),
|
||||
nocache=dict(type='bool', default=False),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue