664d068ef7
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
20 lines
601 B
YAML
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
|
|
|