mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
||||
docker_swarm:
|
||||
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
|
||||
docker_swarm:
|
||||
state: present
|
||||
|
|
Loading…
Reference in a new issue