I am having an issue with referencing a variable in var_files module, and cant for the life of me figure it out. I am generating some vars in a playbook, and using setfact on them [basically awk shell commands to strip arts of the ansible control node hostname]
If i debug the var before hand I can see it, but the play returns an undefined variable:
Can you run your playbook with -vvv then post the output? It’s probably going to be a lot, so use https://pastebin.com/ .
Check if beforehand for any sensitive information.