|
|
|
@ -17,6 +17,10 @@ |
|
|
|
msg: "Found {{ threescale_cicd_existing_services|length }} services" |
|
|
|
verbosity: 1 |
|
|
|
|
|
|
|
- debug: |
|
|
|
var: threescale_cicd_existing_services_details |
|
|
|
verbosity: 1 |
|
|
|
|
|
|
|
- name: Get the list of existing application plans |
|
|
|
uri: |
|
|
|
url: https://{{ inventory_hostname }}/admin/api/services/{{ threescale_cicd_api_service_id }}/application_plans.json?access_token={{ threescale_cicd_access_token|urlencode }} |
|
|
|
@ -32,6 +36,10 @@ |
|
|
|
msg: "Found {{ threescale_cicd_existing_application_plans|length }} application plans" |
|
|
|
verbosity: 1 |
|
|
|
|
|
|
|
- debug: |
|
|
|
var: threescale_cicd_existing_application_plans_details |
|
|
|
verbosity: 1 |
|
|
|
|
|
|
|
- name: Retrieve existing ActiveDocs from the 3scale Admin Portal |
|
|
|
uri: |
|
|
|
url: "https://{{ inventory_hostname }}/admin/api/active_docs.json?access_token={{ threescale_cicd_access_token|urlencode }}" |
|
|
|
@ -45,3 +53,7 @@ |
|
|
|
- debug: |
|
|
|
msg: "Found {{ threescale_cicd_existing_activedocs|length }} active docs" |
|
|
|
verbosity: 1 |
|
|
|
|
|
|
|
- debug: |
|
|
|
var: threescale_cicd_existing_activedocs_details |
|
|
|
verbosity: 1 |
|
|
|
|