From a19e401519d5fc718aad4194de7c765e4c7bba8c Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 12 Jul 2021 06:57:23 -0500 Subject: [PATCH] Length did not work. Try checking for empty array as a string. --- tasks/workstation/settings/gnome.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/workstation/settings/gnome.yml b/tasks/workstation/settings/gnome.yml index 224f6a7..8cb03fd 100644 --- a/tasks/workstation/settings/gnome.yml +++ b/tasks/workstation/settings/gnome.yml @@ -62,10 +62,10 @@ register: gnome_enabled_extensions when: dash_to_dock_exists.failed -- name: Workstation | Account Management | GNOME | Dash To Dock | Array This Extension Name +- name: Workstation | Account Management | GNOME | Dash To Dock | Check If We Need Comma set_fact: dash_to_dock_ext_comma: ", " - when: gnome_enabled_extensions is defined and length(gnome_enabled_extensions.value) > 2 + when: gnome_enabled_extensions is defined and gnome_enabled_extensions.value != "[]" - name: Workstation | Account Management | GNOME | Dash To Dock | Array This Extension Name set_fact: