docker_container, docker_image_facts: allow to use image IDs (#46324)

* Allow to specify images by hash for docker_container and docker_image_facts.

* flake8

* More sanity checks.

* Added changelog.

* Added test.

* Make compatible with Python < 3.4.

* Remove out-commented imports.
This commit is contained in:
Felix Fontein
2018-10-06 15:50:31 +02:00
committed by John R Barker
parent 895019c59b
commit a520ca3298
7 changed files with 143 additions and 39 deletions

View File

@@ -0,0 +1,3 @@
minor_changes:
- "docker_container - Allow to use image ID instead of image name."
- "docker_image_facts - Allow to use image ID instead of image name."