docker_swarm: fix idempotency (#52976)

* Improve idempotency checking: only consider parameters which are part of the generated spec.

* Properly handle rotate_worker_token and rotate_manager_token.
This commit is contained in:
Felix Fontein
2019-02-26 12:46:43 +01:00
committed by John R Barker
parent 6f585b6ee9
commit 42ae6cdb95
2 changed files with 7 additions and 1 deletions

View File

@@ -1,2 +1,3 @@
bugfixes:
- "docker_swarm - do not crash with older docker daemons (https://github.com/ansible/ansible/issues/51175)."
- "docker_swarm - improve idempotency checking; ``rotate_worker_token`` and ``rotate_manager_token`` are now also used when all other parameters have not changed."