fix(agent): cater for api call that returns nothing

!8
This commit is contained in:
2024-02-22 14:57:05 +09:30
parent 634eff3b3a
commit 9920fdb0b4

View File

@ -73,7 +73,7 @@
- 200 - 200
- 404 - 404
validate_certs: false validate_certs: false
changed_when: api_call.json | length | int > 0 changed_when: api_call.json | default([]) | length | int > 0
no_log: true no_log: true
register: api_call register: api_call
when: > when: >