Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore AnsibleUndefinedVariable for set_fact, include_vars, and gather_facts tasks #53978
#41411 fixed an issue where any undefined environment variable was silently ignored. That had the side effect of failing the play too early if environment settings are populated by variables set in
This PR adds more conditions under which the exception is ignored, allowing
This may be the incorrect way to solve this. I am quite open to feedback on the bigger issue and how to better solve it.
not sure, i think this list approach requires plugin specific knowledge, the issue with setup was easier since 'it creates ansible_env' ... i would argue that if you use
Same issue also exists if