fix: Change API call encoding
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-07-13 12:18:33 +02:00
parent 0501a035f2
commit 1446cba537

View File

@ -21,6 +21,8 @@
ansible.builtin.uri: ansible.builtin.uri:
url: https://version.{{ vapp['metacluster.fqdn'] }}/healthz url: https://version.{{ vapp['metacluster.fqdn'] }}/healthz
method: GET method: GET
# This mock REST API -ironically- does not support json encoded body argument
body_format: raw
register: api_readycheck register: api_readycheck
until: until:
- api_readycheck.json.status is defined - api_readycheck.json.status is defined
@ -32,4 +34,3 @@
ansible.builtin.uri: ansible.builtin.uri:
validate_certs: no validate_certs: no
status_code: [200, 201] status_code: [200, 201]
body_format: json