From e3920f2cf8029078fd5ed91bb5d4ca2e73f9ba2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Thu, 21 Jun 2018 14:04:05 +0200 Subject: [PATCH] fix #3: call the 3scale API in the right order --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 54cdf72..f9498a7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -96,15 +96,15 @@ threescale_cicd_api_proxy_definition: '{{ threescale_cicd_api_proxy_definition|combine({ ''endpoint'': threescale_cicd_apicast_production_endpoint }) }}' when: 'threescale_cicd_apicast_production_endpoint is defined' -# Update the proxy -- import_tasks: update_proxy.yml - # Update the metrics - import_tasks: update_metrics.yml # Update the mapping rules - import_tasks: update_mapping_rules.yml +# Update the proxy +- import_tasks: update_proxy.yml + - 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 }}