mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
docker_swarm_service: rename return variable to swarm_service (#53229)
* Rename return variable to swarm_service. * Add changelog. * Add that old name will stay in Ansible 2.7.x.
This commit is contained in:
committed by
John R Barker
parent
70f6cdb814
commit
61abbfc269
@@ -50,7 +50,7 @@
|
||||
- name: assert service args are correct
|
||||
assert:
|
||||
that:
|
||||
- output.ansible_docker_service.args == ['sleep', '1800']
|
||||
- output.swarm_service.args == ['sleep', '1800']
|
||||
|
||||
- name: set service mode to global
|
||||
register: output
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
- name: fake image key as it is not predictable
|
||||
set_fact:
|
||||
ansible_docker_service_output: "{{ output.ansible_docker_service|combine({'image': 'busybox'}) }}"
|
||||
ansible_docker_service_output: "{{ output.swarm_service|combine({'image': 'busybox'}) }}"
|
||||
|
||||
- name: assert service matches expectations
|
||||
assert:
|
||||
|
||||
Reference in New Issue
Block a user