Compatibility with ansible 7
This commit is contained in:
parent
2eae7c68db
commit
32e997f1f7
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Get swarm status information
|
- name: Get swarm status information
|
||||||
docker_swarm:
|
community.docker.docker_swarm_info:
|
||||||
state: inspect
|
state: inspect
|
||||||
register: swarm_info_data
|
register: swarm_info_data
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,7 @@
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Get swarm status information
|
- name: Get swarm status information
|
||||||
docker_swarm:
|
community.docker.docker_swarm_info:
|
||||||
state: inspect
|
|
||||||
register: swarm_info_data
|
register: swarm_info_data
|
||||||
|
|
||||||
- name: Get the swarm worker node token
|
- name: Get the swarm worker node token
|
||||||
|
|
Loading…
Reference in New Issue