@ -12,6 +12,7 @@
body: '{{ threescale_cicd_create_application_payload }}'
status_code: 201
register: threescale_cicd_tmpresponse
changed_when: 'threescale_cicd_tmpresponse.status == 201'
- set_fact:
threescale_cicd_default_application_details: '{{ threescale_cicd_tmpresponse.json.application }}'
body: '{{ threescale_cicd_create_application_plan_payload }}'
threescale_cicd_existing_application_plans: '{{ threescale_cicd_existing_application_plans|union([ threescale_cicd_application_plan.system_name ]) }}'
@ -15,6 +15,8 @@
headers:
Authorization: 'Bearer {{ threescale_cicd_keycloak_access_token }}'
Content-Type: 'application/json'
changed_when: 'threescale_cicd_tmpresponse.status == 200'
- name: Wait for a couple seconds
pause:
@ -11,6 +11,8 @@
validate_certs: no
method: POST
body: '{{ threescale_cicd_update_application_plan_payload }}'
status_code: 200