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

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

* Lint.

* Add test.

* Add changelog fragment.
This commit is contained in:
Felix Fontein
2025-06-08 19:05:09 +02:00
committed by GitHub
parent 8ecbd9a5cc
commit e9f4553b01
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)."