ansible/changelogs/fragments/48590-docker_container-unpause-stop.yml
Felix Fontein 28290ee1e5 [2.7] docker_container: make condition less specific (#48593)
* docker_container: make condition less specific (#48590)

* Code seems to have changed from 409 to 400, so let's not check the code.

* Unpause container before removing it.

* Improve code.

* Same for stop_container.

(cherry picked from commit f3a3f42490)

* Add changelog.
2018-11-13 06:39:41 -08:00

3 lines
209 B
YAML

bugfixes:
- "docker_container - some docker versions require containers to be unpaused before stopping or removing.
Adds check to do this when docker returns a corresponding error on stopping or removing."