Ansible seems to throw "AnsibleUndefinedVariable: One or more undefined variables:..." when you try to evaluate if a variable exists within a jinja2 template. For ...