docker_container: ambiguous parameter "stop_timeout" (#43874)

* docker_container: Honour stop_timeout when creating docker containers (#43814)

* Adjusting description to what actually happens.

See docker-py changelog for 2.7.0: 'APIClient.stop will
no longer override the stop_timeout value present in the
container’s configuration.'

* Add a test whether stop_timeout can be configured for the container.

* Added changelog.

* Integrate with comparisons (by default, ignore stop_timeout value for restarts; will be configurable with PR ansible/ansible#44789).

* Fix config change code and tests (#2)

* Improving wildcard test.
* Using correct config.
This commit is contained in:
Remo Wenger
2018-09-30 13:03:53 +02:00
committed by John R Barker
parent 277bb3066c
commit 83e584577a
4 changed files with 83 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- "docker_container - ``stop_timeout`` is now also used to set the ``StopTimeout`` property of the docker container when creating the container."