feat: verify OpenResty core API

This commit is contained in:
shenlan 2025-08-05 12:52:50 +08:00
parent b8d7da8f87
commit dd0bace6dc

View File

@ -36,3 +36,13 @@
name: openresty
enabled: yes
state: started
- name: Verify OpenResty core API
shell: |
curl -fsS -X POST http://127.0.0.1:8080/api/askai \
-H "Content-Type: application/json" \
-d '{"question":"你好"}'
register: openresty_verify
retries: 5
delay: 3
until: openresty_verify.rc == 0