by harryf · 10y ago · 0 comments
i.e. the variables where happening in a Jinja template and because undefined, rm -rf {foo}/{bar} was transformed by the template engine into rm -rf /
http://docs.ansible.com/ansible/playbooks_filters.html#defau...
foo = ""
bar = getValueOrNull()