You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible
Felix Fontein cf269667c1 docker_swarm_service: Sort lists when checking for changes (#63887) (#65221)
* docker_swarm_service: Sort lists when checking for changes

When two lists are checked for changes in this module, the lists are
reported changed when the order of the items is different. This PR
resolves this issue.

* docker_swarm_service: Minor typo fix

* docker_swarm_service: Another minor typo

* docker_swarm_service: Should use sorted(), not sort()

* docker_swarm_service: Sort lists of dictionaries

* docker_swarm_service: Fix style issues in tests

* docker_swarm_service: Updates to integration tests

* docker_swarm_service: Casting string types within lists when comparing

* docker_swarm_service: Special handling of unordered networks with ordered aliases

* docker_swarm_service: Sorting network lists

* docker_swarm_serivce: Better unit test code coverage for lists and networks

* docker_swarm_service: Fixed coding style for sanity tests

* docker_swarm_service: More coding style fixes

* docker_swarm_service: Ignoring test for Python < 3

* docker_swarm_service: Update to version info check for backwards compatibility

* docker_swarm_service: Added change fragment #63887

* docker_swarm_service: Better handling of missing sort key for dictionary of lists

* docker_swarm_service: Preventing sorts from modifying in-place

Co-Authored-By: Felix Fontein <felix@fontein.de>

* docker_swarm_service: Removed spurious import in test

* docker_swarm_service: Preventing sorts from modifying more data in-place

Co-Authored-By: Felix Fontein <felix@fontein.de>
(cherry picked from commit a096cd08c5)
6 years ago
..
cli [stable-2.9] Fix ansible-galaxy --version (#63636) 6 years ago
compat Update bundled copy of selectors2 from 1.1.0 to 1.1.1 (#55457) 7 years ago
config [2.9 backport] config encode errors should not be fatal (#63311) (#63312) 6 years ago
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 7 years ago
executor Windows coverage - output temp files with UTF-8 BOM (#65086) (#65088) 6 years ago
galaxy [stable-2.9] Fix up role version pagination for Galaxy install (#64373) 6 years ago
inventory [stable-2.9] Account for empty strings when splitting the host pattern (#62442) (#62679) 6 years ago
module_utils [stable-2.9] Eos vlan override (#63639) (#63687) 6 years ago
modules docker_swarm_service: Sort lists when checking for changes (#63887) (#65221) 6 years ago
parsing [2.9] core: Handle empty extra vars in cli (#62240) 6 years ago
playbook Collection role relative deps (#61517) 6 years ago
plugins Fix netconf post "delay persistent connections" (#63463) (#65137) 6 years ago
template Wrap CLI passwords as AnsibleUnsafeText (#63352) 6 years ago
utils [stable-2.9] Explicitly use multiprocessing fork start method (#63581) (#63591) 6 years ago
vars Use templating in HostVarsVars __repr__ (#64282) 6 years ago
__init__.py
constants.py removed previouslly deprecated settings (#55662) 7 years ago
context.py Become plugins (#50991) 7 years ago
release.py Update Ansible release version to v2.9.1.post0. 6 years ago