mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21: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
|
@ -475,7 +475,7 @@ def main():
|
|||
state=dict(type='str', choices=['present', 'join', 'absent', 'remove', 'inspect'], default='present'),
|
||||
force=dict(type='bool', default=False),
|
||||
listen_addr=dict(type='str', default='0.0.0.0:2377'),
|
||||
remote_addrs=dict(type='list'),
|
||||
remote_addrs=dict(type='list', elements='str'),
|
||||
join_token=dict(type='str'),
|
||||
snapshot_interval=dict(type='int'),
|
||||
task_history_retention_limit=dict(type='int'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue