mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove debug statements
This commit is contained in:
parent
2cfeec3683
commit
259744d5f4
1 changed files with 0 additions and 6 deletions
|
@ -21,20 +21,14 @@
|
||||||
shell: "docker ps | grep busybox | awk '{ print $1 }'"
|
shell: "docker ps | grep busybox | awk '{ print $1 }'"
|
||||||
register: container_id
|
register: container_id
|
||||||
|
|
||||||
- debug: var=container_id
|
|
||||||
|
|
||||||
- name: Get the docker container ip
|
- name: Get the docker container ip
|
||||||
shell: "docker inspect {{ container_id.stdout_lines[0] }} | grep IPAddress | awk -F '\"' '{ print $4 }'"
|
shell: "docker inspect {{ container_id.stdout_lines[0] }} | grep IPAddress | awk -F '\"' '{ print $4 }'"
|
||||||
register: container_ip
|
register: container_ip
|
||||||
|
|
||||||
- debug: var=container_ip
|
|
||||||
|
|
||||||
- name: Try to access the server
|
- name: Try to access the server
|
||||||
shell: "echo 'world' | nc {{ container_ip.stdout_lines[0] }} 2000"
|
shell: "echo 'world' | nc {{ container_ip.stdout_lines[0] }} 2000"
|
||||||
register: docker_output
|
register: docker_output
|
||||||
|
|
||||||
- debug: var=docker_output
|
|
||||||
|
|
||||||
- name: check that the script ran
|
- name: check that the script ran
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
|
|
Loading…
Reference in a new issue