From 92e361495c101a1ebd74dc8dc07687aade514e0b Mon Sep 17 00:00:00 2001 From: Andre Araujo Date: Sat, 5 Mar 2022 20:04:15 +1100 Subject: [PATCH] Fixed unqualified global variables. Fixes #79. Signed-off-by: Andre Araujo --- roles/cloudera_deploy/tasks/init.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/cloudera_deploy/tasks/init.yml b/roles/cloudera_deploy/tasks/init.yml index 65670bc..e11516a 100644 --- a/roles/cloudera_deploy/tasks/init.yml +++ b/roles/cloudera_deploy/tasks/init.yml @@ -231,7 +231,7 @@ - name: Check Supplied terraform_base_dir variable when: - - infra_deployment_engine == 'terraform' + - globals.infra_deployment_engine == 'terraform' ansible.builtin.assert: that: - globals.terraform_base_dir is defined @@ -241,7 +241,7 @@ - name: Check Supplied terraform_auto_remote_state variable when: - - infra_deployment_engine == 'terraform' + - globals.infra_deployment_engine == 'terraform' ansible.builtin.assert: that: - (globals.terraform_auto_remote_state|bool is sameas true) or (globals.terraform_auto_remote_state|bool is sameas false)