aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2019-04-04 13:35:38 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2019-04-04 13:35:38 +0200
commit00cd817342d7dbbb4cc35edb1bd80c97b91ed41b (patch)
tree90eb429062eeb2aa660965848270cbd30497ff05 /tasks
parent9020cc32a5764ae262ab361d14a1afc4a8914603 (diff)
downloadansible-kong-app-00cd817342d7dbbb4cc35edb1bd80c97b91ed41b.tar.gz
ansible-kong-app-00cd817342d7dbbb4cc35edb1bd80c97b91ed41b.tar.zst
ansible-kong-app-00cd817342d7dbbb4cc35edb1bd80c97b91ed41b.zip
lint: fix latest recommendations from ansible-lint
Diffstat (limited to 'tasks')
-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