Update roles/build_fastapi/tasks/main.yml
This commit is contained in:
@@ -47,9 +47,11 @@
|
|||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
port: 8080
|
port: 8080
|
||||||
delay: 10
|
delay: 10
|
||||||
|
check_mode: false
|
||||||
- name: testing api locally
|
- name: testing api locally
|
||||||
shell: "curl -k localhost:8080"
|
shell: "curl -k localhost:8080"
|
||||||
register: reg_curl_result
|
register: reg_curl_result
|
||||||
|
check_mode: false
|
||||||
- name: show curl result
|
- name: show curl result
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ reg_curl_result.stdout }}"
|
msg: "{{ reg_curl_result.stdout }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user