Skip to content
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

No filter named 'to_nice_yaml' found. #480

Open
nduka145 opened this issue Apr 12, 2023 · 1 comment
Open

No filter named 'to_nice_yaml' found. #480

nduka145 opened this issue Apr 12, 2023 · 1 comment

Comments

@nduka145
Copy link

Any idea what is causing the following error and how to resolve it. We are running this on;

Ubuntu = 16.04.7
ansible ==2.9.14

TASK [Datadog.datadog : Create main Datadog agent configuration file] **********

fatal: [jenkins0.prod.data.345.com]: FAILED! => {"changed": false, "msg": "TemplateRuntimeError: No filter named 'to_nice_yaml' found."}

@KSerrania
Copy link
Contributor

Hi @nduka145,

Thanks for raising this issue. This seems similar to the issues mentioned in ansible/ansible#77413, ansible/ansible#77383.

According to ansible/ansible#77413 (comment), this type of issues with Jinja filters was fixed in Ansible 2.9.22 (for the Ansible 2.9 line). Could you try upgrading to this version (or a later one) and try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants