docker_container idempotency: work around Docker not returning true configured command when command is [] (#1085) (#1086)

* Work around Docker not returning true configured command when command is [].

* Lint.

* Add test.

* Add changelog fragment.

(cherry picked from commit e9f4553b01)
This commit is contained in:
Felix Fontein
2025-06-08 21:06:26 +02:00
committed by GitHub
parent 5e8a62acbc
commit 620037e470
3 changed files with 47 additions and 1 deletions
@@ -0,0 +1,2 @@
bugfixes:
- "docker_container - fix idempotency if ``command=[]`` and ``command_handling=correct`` (https://github.com/ansible-collections/community.docker/issues/1080, https://github.com/ansible-collections/community.docker/pull/1085)."