mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
2162d7d4de
* integration test for docker_swarm_service * ensure stack de-initialization * Set default value for 'configs' parameter to None Docker-py uses None as a default value for configs. Using the same default here allows to create services on older docker setups (docker_api<1.30). * Set default value for 'update_order' parameter to None Docker-py uses None as a default value for update_order. Using the same default here allows to create services on older docker setups (docker_api<1.29) * Set default value for 'publish.mode' parameter to None Docker-py uses None as a default value for publish_mode. Using the same default here allows to create services on older docker setups (docker_api<1.32) * Allow tests to run on older version of docker. * remove workarounds for old docker versions * test correct swarm cleanup * changelog fragment for docker_swarm_service defaults change
4 lines
212 B
YAML
4 lines
212 B
YAML
- include_tasks: test_swarm_service.yml
|
|
when:
|
|
- ansible_os_family != 'RedHat' or ansible_distribution_major_version != '6'
|
|
- ansible_distribution != 'Fedora' or ansible_distribution_major_version|int >= 26
|