docker_compose: fix idempotency for stopped services (#159)

* Always use |= instead of = when updating changed status.

* Fix idempotence bug.

* Add changelog fragment.
This commit is contained in:
Felix Fontein
2021-06-22 12:07:50 +02:00
committed by GitHub
parent 902bcc6193
commit af2b3b0493
3 changed files with 12 additions and 6 deletions
@@ -0,0 +1,2 @@
bugfixes:
- "docker_compose - fix idempotence bug when using ``stopped: true`` (https://github.com/ansible-collections/community.docker/issues/142, https://github.com/ansible-collections/community.docker/pull/159)."