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:
Felix Fontein 2018-11-12 12:33:42 +01:00 committed by John R Barker
commit 0206a46e1d
7 changed files with 210 additions and 80 deletions

View file

@ -709,7 +709,7 @@
state: started
device_read_iops:
- path: /dev/urandom
rate: 20
rate: "20"
- path: /dev/random
rate: 10
register: device_read_iops_2