Improve stability of Docker integration tests. (#46005)

This commit is contained in:
Matt Clay 2018-09-21 14:48:40 -07:00 committed by GitHub
parent d603cd41fe
commit 339d22a2bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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