diff --git a/roles/openstack-info/tasks/main.yaml b/roles/openstack-info/tasks/main.yaml new file mode 100644 index 0000000..e2e08df --- /dev/null +++ b/roles/openstack-info/tasks/main.yaml @@ -0,0 +1,27 @@ +--- +- name: Display networking information about zuul worker. + shell: | + export PATH=$PATH:/sbin + if [ -f /etc/dib-builddate.txt ]; then + echo "Image build date" + echo "================" + cat /etc/dib-builddate.txt + fi + echo "Host & kernel" + echo "=============" + uname -a + echo "Network interface addresses..." + echo "==============================" + ip address show + echo "Network routing tables..." + echo "=========================" + ip route show + ip -6 route show + echo "Network neighbors..." + echo "====================" + ip neighbor show + echo "Route to Git mirror..." + echo "======================" + traceroute6 -n git.openstack.org \ + || traceroute -n git.openstack.org \ + || true