Update roles/build_fastapi/tasks/main.yml

This commit is contained in:
2024-02-02 16:45:46 +08:00
parent 5a9e29b135
commit 750523f69a

View File

@@ -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 }}"