Update roles/demolamp/tasks/main.yml
This commit is contained in:
@@ -22,15 +22,3 @@
|
|||||||
image: "demolamp:{{ demobackend_version }}"
|
image: "demolamp:{{ demobackend_version }}"
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- name: wait for the api ready
|
|
||||||
wait_for:
|
|
||||||
host: 0.0.0.0
|
|
||||||
port: 80
|
|
||||||
delay: 10
|
|
||||||
- name: testing api locally
|
|
||||||
shell: "curl -k localhost:80"
|
|
||||||
register: reg_curl_result
|
|
||||||
- name: show curl result
|
|
||||||
debug:
|
|
||||||
msg: "{{ reg_curl_result.stdout }}"
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user