Improve stability of Docker integration tests. (#46005)
This commit is contained in:
parent
d603cd41fe
commit
339d22a2bd
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
- name: Make sure we're not already using Docker swarm
|
||||||
|
docker_swarm:
|
||||||
|
state: absent
|
||||||
|
force: true
|
||||||
|
|
||||||
- name: Create a Swarm cluster
|
- name: Create a Swarm cluster
|
||||||
docker_swarm:
|
docker_swarm:
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
- name: Make sure we're not already using Docker swarm
|
||||||
|
docker_swarm:
|
||||||
|
state: absent
|
||||||
|
force: true
|
||||||
|
|
||||||
- name: Test parameters with state=present
|
- name: Test parameters with state=present
|
||||||
docker_swarm:
|
docker_swarm:
|
||||||
state: present
|
state: present
|
||||||
|
|
Loading…
Reference in a new issue