From 63acf7336ae1026ddfea2be6772fb376b78e31b2 Mon Sep 17 00:00:00 2001 From: George Adams Date: Mon, 11 Mar 2024 09:38:33 +0000 Subject: [PATCH] fix variable lookup --- .../AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml index 623b658855..4fdb4d88ef 100644 --- a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Xcode11/tasks/main.yml @@ -11,7 +11,7 @@ - name: Check if SAS variable is defined set_fact: apple_variables: yes - when: not xcode11_installed.stat.exists and XCode11.7_SAS_TOKEN is defined + when: not xcode11_installed.stat.exists and vars['XCode11.7_SAS_TOKEN'] is defined - name: Display Information when XCode11.7_SAS_TOKEN is not defined debug: