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
@@ -219,8 +219,8 @@
that:
- present_1 is changed
- present_2 is changed
# - present_3 is not changed -- FIXME! https://github.com/ansible-collections/community.docker/issues/142
# - present_4 is not changed -- FIXME! https://github.com/ansible-collections/community.docker/issues/142
- present_3 is not changed
- present_4 is not changed
- started_1 is changed
- started_2 is changed
- started_3 is not changed