docker_prune: correctly return 'changed' result (#593)

* Correctly return 'changed' status.

* Extend tests.

* Fix typo.
This commit is contained in:
Felix Fontein
2023-02-24 17:24:16 +01:00
committed by GitHub
parent d0e61097f1
commit 08bfcf7e5f
3 changed files with 52 additions and 1 deletions
@@ -0,0 +1,2 @@
bugfixes:
- "docker_prune - return correct value for ``changed``. So far the module always claimed that nothing changed (https://github.com/ansible-collections/community.docker/pull/593)."