docker_network: improve test failure debugging (#201)

* Show inspection results for all Docker networks before running docker_network tests.

* AZP/Docker seems to prefer networks in 172.0.0.0/8, so we use 10.0.0.0/8 for our tests.

* Fix use of wrong variable.
This commit is contained in:
Felix Fontein
2021-09-10 22:10:35 +02:00
committed by GitHub
parent 5a3ce51049
commit 40f61ae8c8
3 changed files with 36 additions and 26 deletions
@@ -50,6 +50,6 @@
until: result is success
- name: "Make sure all volumes are removed"
command: "docker rm -f {{ item }}"
command: "docker volume rm -f {{ item }}"
with_items: "{{ docker_registry_setup_vnames }}"
ignore_errors: yes