mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-04 01:28:53 +00:00
docker_swarm_service: Fix publish idempotency when mode is None (#50882)
* Fix publish idempotency when mode is None * Add changelog fragment * Python 2.6 compat * Use self.publish * Check length of publish before comparing content * Sort publish lists before zipping * Enable publish tests * python3 compat * Don’t sort by mode as it is not safe * Document publish suboptions and add them to args * Add type to publish documentation * Add choices to publish argument_spec suboptions * Make tcp the default protocol * Make documentation reflect protocol default * Simplify setting mode * Remove redundant string quoting * Test order of publish * Add comment about publish change detection
This commit is contained in:
parent
420c24ea55
commit
7ceb2ac95a
3 changed files with 123 additions and 44 deletions
|
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "docker_swarm_service - fixing falsely reporting ``publish`` as changed when ``publish.mode`` is not set."
|
||||
Loading…
Add table
Add a link
Reference in a new issue