docker_container: use restart() API function instead of stop/start sequence (#55894)

* Improve container restart.

* Adjust tests.

* Add changelog.

* Quote options.

* Move tests for restart/recreate options to start/stop tests.

* Fix changelog name.
This commit is contained in:
Felix Fontein
2019-05-03 17:30:39 +02:00
committed by ansibot
parent 93f0112953
commit 95d1564f70
4 changed files with 138 additions and 112 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "docker_container - use docker API's ``restart`` instead of ``stop``/``start`` to restart a container."