From 83caed159f1a63fbaaa0163647dea5269de2a254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Thu, 23 Aug 2018 11:05:37 +0200 Subject: [PATCH] add some debug --- tasks/steps/activedoc.yml | 3 ++- tasks/steps/discover.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/tasks/steps/activedoc.yml b/tasks/steps/activedoc.yml index dfa531e..0b367e0 100644 --- a/tasks/steps/activedoc.yml +++ b/tasks/steps/activedoc.yml @@ -1,6 +1,7 @@ --- - debug: - msg: '{{ threescale_cicd_openapi_rewritten }}' + var: threescale_cicd_openapi_rewritten + verbosity: 1 - include_tasks: api-calls/update_activedoc.yml when: 'threescale_cicd_api_system_name in threescale_cicd_existing_activedocs' diff --git a/tasks/steps/discover.yml b/tasks/steps/discover.yml index d795609..1ead278 100644 --- a/tasks/steps/discover.yml +++ b/tasks/steps/discover.yml @@ -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