aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--meta/main.yml8
-rw-r--r--tasks/plugins.yml4
2 files changed, 9 insertions, 3 deletions
diff --git a/meta/main.yml b/meta/main.yml
index a2ae975..af8b3f0 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -32,7 +32,13 @@ galaxy_info:
32 # 32 #
33 # platforms is a list of platforms, and each platform has a name and a list of versions. 33 # platforms is a list of platforms, and each platform has a name and a list of versions.
34 # 34 #
35 # platforms: 35 platforms:
36 - name: Debian
37 versions:
38 - all
39 - name: Ubuntu
40 version:
41 - all
36 # - name: Fedora 42 # - name: Fedora
37 # versions: 43 # versions:
38 # - all 44 # - all
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