docker_container: fix idempotency problem with empty published_ports list (#979)

* Distinguish between [] and None.

* Add changelog fragment.

* Fix typo.
This commit is contained in:
Felix Fontein
2020-09-28 20:40:57 +02:00
committed by GitHub
parent c173d4d5bc
commit 4e1f6683d9
3 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "docker_container - fix idempotency problem with ``published_ports`` when strict comparison is used and list is empty (https://github.com/ansible-collections/community.general/issues/978)."