Error:
The role ood_uab_ui fails with an error: variable app_name is undefined.
Description:
The var app_name was defined in a task and it was used in a different task afterwards, so the scope of the var ends in the task it is defined. Since the scope of it wasn't defined at a role level (i.e at the start of the role) rather just the task, it considers the variable as undefined.
Error: The role
ood_uab_ui
fails with an error:variable app_name is undefined
.Description: The var
app_name
was defined in a task and it was used in a different task afterwards, so the scope of the var ends in the task it is defined. Since the scope of it wasn't defined at a role level (i.e at the start of the role) rather just the task, it considers the variable as undefined.Solution: