a016a1a565
I noticed this by accident when I ran ansible-lint over this repo from an outside context; it didn't use the .yamllint in here and started compalining about eof whitespace. After scratching my head for a bit as to why this didn't fail here, I realised we've allowed various newlines since the initial commit I936fe2c997597972d884c5fc62655d28e8aaf8c5. Remove this and just use the default eof rules, and fixup the whitespace as required. This is fairly unimportant, but is nice for consistency. Change-Id: Idb46a1f39ba798b0bf70eaa27b4c6b4758ce3d26
19 lines
600 B
YAML
19 lines
600 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
|