diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2023-07-11 17:48:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 17:48:33 +0200 |
commit | c7eca0e5c0f9b6cd3b8c62a75a9e3c1d3d5063ba (patch) | |
tree | 224c494efc176a63645aff020a068d9871d5f329 /test/integration/targets/lookup_first_found/vars | |
parent | Add space to make linter happy (#81175) (diff) | |
download | ansible-c7eca0e5c0f9b6cd3b8c62a75a9e3c1d3d5063ba.tar.xz ansible-c7eca0e5c0f9b6cd3b8c62a75a9e3c1d3d5063ba.zip |
first_found lookup, let lookup handle templating errors (#81178)
* first_found lookup, let lookup handle templating errors
Avoids case in which TE was not sending valid and templatable entries to the lookup
The lookup already handles the case TE was attempting to itself, so no need for this code anymore.
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
Diffstat (limited to 'test/integration/targets/lookup_first_found/vars')
-rw-r--r-- | test/integration/targets/lookup_first_found/vars/ishouldnotbefound.yml | 1 | ||||
-rw-r--r-- | test/integration/targets/lookup_first_found/vars/itworks.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/targets/lookup_first_found/vars/ishouldnotbefound.yml b/test/integration/targets/lookup_first_found/vars/ishouldnotbefound.yml new file mode 100644 index 0000000000..e4cc6d5dbc --- /dev/null +++ b/test/integration/targets/lookup_first_found/vars/ishouldnotbefound.yml @@ -0,0 +1 @@ +really: i hide diff --git a/test/integration/targets/lookup_first_found/vars/itworks.yml b/test/integration/targets/lookup_first_found/vars/itworks.yml new file mode 100644 index 0000000000..8f8a21a46d --- /dev/null +++ b/test/integration/targets/lookup_first_found/vars/itworks.yml @@ -0,0 +1 @@ +doesit: yes it does |