aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/plugins.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/plugins.yml')
-rw-r--r--tasks/plugins.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/plugins.yml b/tasks/plugins.yml
index cedbbd2..c64e5c9 100644
--- a/tasks/plugins.yml
+++ b/tasks/plugins.yml
@@ -23,7 +23,7 @@
23 current_config: "{{ kong_app_service_plugins_check.json.data | selectattr('name', 'equalto', plugin.name) | first |default({\"id\": ''}) }}" 23 current_config: "{{ kong_app_service_plugins_check.json.data | selectattr('name', 'equalto', plugin.name) | first |default({\"id\": ''}) }}"
24 current_id_hash: 24 current_id_hash:
25 id: "{{ current_config.id }}" 25 id: "{{ current_config.id }}"
26 current_body: "{{ (current_id_hash.id == '') | ternary({}, current_id_hash) }}" 26 current_body: "{{ not current_id_hash.id | ternary({}, current_id_hash) }}"
27 exists_plugin: "{{ current_id_hash.id == '' }}" 27 exists_plugin: "{{ not current_id_hash.id }}"
28 when: not kong_app_service_plugins_check is skipped 28 when: not kong_app_service_plugins_check is skipped
29 no_log: true 29 no_log: true