zuul-jobs/test-playbooks/ensure-docker.yaml
Ian Wienand 664d068ef7 ensure-docker: < 1500 MTU workaround
As described inline, we should lower the MTU in the docker
configuration when we see the interface has a MTU lower than 1500 so
things "just work".  This particularly affects the Linaro ARM64 cloud
in OpenDev, but it is a generic issue.

Change-Id: I338616c41a65b007d56648fdab6da2a6a6b909f4
Story: https://storyboard.openstack.org/#!/story/2008230
2020-10-06 11:26:15 +00:00

20 lines
601 B
YAML

- hosts: all
tasks:
- name: Run ensure-docker role
include_role:
name: ensure-docker
- name: Validate docker pull
command: |
docker pull --quiet curlimages/curl:latest
- name: Validate docker host network containers have internet access
command: |
docker run --rm --network=host curlimages/curl:latest --no-progress-meter https://httpbin.org/get
- name: Validate docker default bridge networking containers have internet access
command: |
docker run --rm curlimages/curl:latest --no-progress-meter https://httpbin.org/get