-
Notifications
You must be signed in to change notification settings - Fork 522
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
Link to templating functions from the variables page #2258
Link to templating functions from the variables page #2258
Conversation
Add query/q templating function to the working with playbooks page
@s-hertel - how far back is this applicable? The linked issue says '2.17' but I can't tell if that's accurate or if we should backport this down to 2.16? |
@samccann Thanks for the review. Backporting to 2.16 would be good if possible, this limitation affects all versions. The |
Backport to stable-2.16: 💚 backport PR created✅ Backport PR branch: Backported as #2281 🤖 @patchback |
* Link to templating functions from the variables page Add query/q templating function to the working with playbooks page * fix typos, simplify example (cherry picked from commit 2b7145d)
Backport to stable-2.17: 💚 backport PR created✅ Backport PR branch: Backported as #2282 🤖 @patchback |
Cool thanks. Backports come free and easy now thanks to a bot. Just added labels on the side for each release and let it do its magic! |
* Link to templating functions from the variables page Add query/q templating function to the working with playbooks page * fix typos, simplify example (cherry picked from commit 2b7145d)
Backport to stable-2.18: 💚 backport PR created✅ Backport PR branch: Backported as #2283 🤖 @patchback |
* Link to templating functions from the variables page Add query/q templating function to the working with playbooks page * fix typos, simplify example (cherry picked from commit 2b7145d)
* Link to templating functions from the variables page Add query/q templating function to the working with playbooks page * fix typos, simplify example (cherry picked from commit 2b7145d) Co-authored-by: Sloane Hertel <[email protected]>
* Link to templating functions from the variables page Add query/q templating function to the working with playbooks page * fix typos, simplify example (cherry picked from commit 2b7145d) Co-authored-by: Sloane Hertel <[email protected]>
* Link to templating functions from the variables page Add query/q templating function to the working with playbooks page * fix typos, simplify example (cherry picked from commit 2b7145d) Co-authored-by: Sloane Hertel <[email protected]>
Related to ansible/ansible#84427. All of the templating global functions can be overwritten with a variable.
I also noticed
query
/q
wasn't documented with the other global templating functions so I added it.