Optimized variable conditions for ansible update 2.18 -> 2.20

This commit is contained in:
2025-12-04 12:24:01 +01:00
parent 73ec220847
commit d0efc77b6c
5 changed files with 6 additions and 6 deletions

View File

@@ -56,7 +56,7 @@
plugin_name: "{{ item.key }}"
plugin_enabled: "{{ item.value.enabled | bool }}"
plugin_task_path: "{{ [role_path, 'tasks/plugins', plugin_name ~ '.yml' ] | path_join }}"
when: plugin_enabled
when: plugin_enabled | bool
- name: Detect if WordPress is Multisite
command: >