--- - name: Check proactive-fraud-detection-case responds with 201 uri: url: "https://{{ kieserver_host.stdout }}/services/rest/server/containers/{{ _kie_container_id }}/cases/proactivefrauddetectioncase.fraud-case/instances" method: POST body: "{{ lookup('file', role_path ~ '/files/businessautomation/payload.xml') | string }}" validate_certs: false follow_redirects: yes user: "{{ _namespace }}" password: "{{ _account_password }}" force_basic_auth: true status_code: 201 headers: Accept: application/xml Content-Type: application/xml X-KIE-ContentType: XSTREAM register: kiedeployresult retries: "{{ _retry }}" delay: "{{ _delay }}" until: kiedeployresult.status == 201