diff --git a/test/integration/roles/test_docker/tasks/docker-tests.yml b/test/integration/roles/test_docker/tasks/docker-tests.yml index e3ce04a56c..11f2f9ac2c 100644 --- a/test/integration/roles/test_docker/tasks/docker-tests.yml +++ b/test/integration/roles/test_docker/tasks/docker-tests.yml @@ -21,20 +21,14 @@ shell: "docker ps | grep busybox | awk '{ print $1 }'" register: container_id -- debug: var=container_id - - name: Get the docker container ip shell: "docker inspect {{ container_id.stdout_lines[0] }} | grep IPAddress | awk -F '\"' '{ print $4 }'" register: container_ip -- debug: var=container_ip - - name: Try to access the server shell: "echo 'world' | nc {{ container_ip.stdout_lines[0] }} 2000" register: docker_output -- debug: var=docker_output - - name: check that the script ran assert: that: