diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2022-01-18 20:31:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 17:31:44 -0800 |
commit | a58c2a39d308a916c050bb67c1ff8c27913899ca (patch) | |
tree | 0cbb027d59f6beeba8d537b63255ec67a62a1379 /changelogs | |
parent | 4eac144d7e7b8cdb5a167ae53e2e268ca2a94557 (diff) | |
download | ansible-a58c2a39d308a916c050bb67c1ff8c27913899ca.tar.gz |
include_vars initialize failed (#76754) (#76785)
* include_vars initialize failed
if source dir is given, but not present and traversal is empty you
can end up trying to access failed w/o it ever being defined.
also future proof for more corner cases in decision tree
(cherry picked from commit 89c884e2a2bd124b49bf9419f053f659a7d1c554)
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/include_vars_failed.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/include_vars_failed.yml b/changelogs/fragments/include_vars_failed.yml new file mode 100644 index 0000000000..8a3a5881f8 --- /dev/null +++ b/changelogs/fragments/include_vars_failed.yml @@ -0,0 +1,2 @@ +bugfixes: + - include_vars, properly initialize variable as there is corner case in which it can end up referenced and not defined |