-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ansible 2.8: "skip: true" vs "errors=ignore" #56713
Comments
Files identified in the description: If these files are inaccurate, please update the |
Looks like my syntax is wrong. It should be loop: '{{q("first_found", dict(files=["a.yml", "b.yml", "c.yml"]), errors="ignore")}}' instead of
It still doesn't work but that's a different issue. |
+1. Affected by the same issue. |
me three. I use with_first_found heavily. |
I'm having this same issue. Not sure why this issue was closed, but I opened up a bug ticket #58942 because the documentation should be fixed to not recommend a solution that's deprecated (and ideally, that non-deprecated usage would also... work?) |
SUMMARY
find_first
: with ansible 2.8skip=false
is marked as deprecated in favour oferrors="ignore"
.But when using
errors="ignore"
ansible tells me to useskip: true
instead and fails.ISSUE TYPE
COMPONENT NAME
first_found
ANSIBLE VERSION
CONFIGURATION
n/a
OS / ENVIRONMENT
n/a
STEPS TO REPRODUCE
please note that none of
{a,b,c}.yml
must exist.EXPECTED RESULTS
both tasks being skipped.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: