From: Gaƫtan Duchaussois Date: Fri, 20 Apr 2018 13:00:52 +0000 (+0200) Subject: fix deprecation warning X-Git-Tag: v0.1^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0682b86504faf606b9017bc82bdbabd3af237db6;p=github%2Ffretlink%2Fansible-kong-app.git fix deprecation warning --- diff --git a/tasks/plugins.yml b/tasks/plugins.yml index c03bca7..f096d4b 100644 --- a/tasks/plugins.yml +++ b/tasks/plugins.yml @@ -25,4 +25,4 @@ id: "{{ current_config.id }}" current_body: "{{ (current_id_hash.id == '') | ternary({}, current_id_hash) }}" exists_plugin: "{{ current_id_hash.id == '' }}" - when: not kong_app_service_plugins_check|skipped + when: not kong_app_service_plugins_check is skipped diff --git a/tasks/routes.yml b/tasks/routes.yml index d4d912f..4581e8c 100644 --- a/tasks/routes.yml +++ b/tasks/routes.yml @@ -28,4 +28,4 @@ apikey: "{{ kong_app_admin_apikey }}" status_code: 204 with_items: "{{ kong_app_service_routes_check.json.data }}" - when: not kong_app_service_routes_check|skipped + when: not kong_app_service_routes_check is skipped