-
Notifications
You must be signed in to change notification settings - Fork 225
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
Remove indentfirst
in system-probe.yaml.j2
#361
Remove indentfirst
in system-probe.yaml.j2
#361
Conversation
* This is a revert of DataDog#240
Thanks for submitting this PR! The problem is that using
This would result in the first line being blank and unindented, and all of the lines of the |
* This will make it compatible with Jinja2 <2.10, and Jinja2 >=3
indentfirst
in system-probe.yaml.j2
@bkabrda That's a nice approach. What about not specifying the keyword |
@tasktop-teho you're right that this also possible (and probably even better), but for it to work you'd need to modify the call to be |
* Also added comment explaining the use of non-keyword arguments
Looks good now, merging. Thank you for the contribution! |
Thank you for the constructive advice |
@bkabrda any ideas when there will be a new release with this change? We're running into the same issue. |
Would it be possible to cut a release with this change? |
Sure, I'll do the pre-release tests today and cut a new release if everything checks out - hopefully today/tomorrow, if I find no issues. |
I've just released 4.10.0 version of the Datadog role. See https://github.com/DataDog/ansible-datadog/releases/tag/4.10.0 for changelog. It's now also available on Ansible Galaxy: https://galaxy.ansible.com/DataDog/datadog |
What does this PR do?
Removes specification of the obsolete indent filter argument
identfirst
.Fixes #360
Motivation
The indentfirst option no longer supported in jinja 3