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
quote filter doesn't handle None #32174
Comments
I’m not sure it should work with It shouldn’t just act as a pass through for non strings as that could be dangerous in itself. |
Maybe something like the following is actually what you want:
|
That may be... mostly was just following the example given in the docs. Should that be updated? |
Ah, last night when looking at the docs I didn't see that format mentioned. It seems to be in the I'd be curious how many filters would actually work with that scenario. I'm guessing not too many. I think updating the docs would probably be a good idea. |
ISSUE TYPE
COMPONENT NAME
quote filter
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Fedora 26
SUMMARY
quote filter does not work with the example chaining syntax on http://docs.ansible.com/ansible/latest/playbooks_filters.html#omitting-parameters
STEPS TO REPRODUCE
Playbook:
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: