Skip to content

Commit 8a24377

Browse files
authored
Fixed unqualified global variables. (#80)
* Update several unqualified variables used in the Terraform deployment code Signed-off-by: Andre Araujo <araujo@cloudera.com>
1 parent cd7b5cd commit 8a24377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/cloudera_deploy/tasks/init.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232

233233
- name: Check Supplied terraform_base_dir variable
234234
when:
235-
- infra_deployment_engine == 'terraform'
235+
- globals.infra_deployment_engine == 'terraform'
236236
ansible.builtin.assert:
237237
that:
238238
- globals.terraform_base_dir is defined
@@ -242,7 +242,7 @@
242242

243243
- name: Check Supplied terraform_auto_remote_state variable
244244
when:
245-
- infra_deployment_engine == 'terraform'
245+
- globals.infra_deployment_engine == 'terraform'
246246
ansible.builtin.assert:
247247
that:
248248
- (globals.terraform_auto_remote_state|bool is sameas true) or (globals.terraform_auto_remote_state|bool is sameas false)

0 commit comments

Comments
 (0)