We want it to show error rather than silently using an empty value.
Is it possible?
Thanks
We want it to show error rather than silently using an empty value.
Is it possible?
Thanks
you can set error_on_undefined_vars to true to get the desired functionality,
I cannot find any doc related to this “error_on_undefined_vars” in official site, is it released?
Also, where to put? I tried ~/.ansible.cfg but not working…
Thanks.
It’s in the default examples/ansible.cfg (see checkout) that is packaged as /etc/ansible/ansible.cfg in most package distributions of Ansible.
This feature is also available only in 1.3 (currently under development) and later, and will be default on very soon in 1.3.
–Michael