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

Feature request: ipaddr filter #85

Open
nicoaws opened this issue Apr 21, 2020 · 2 comments · May be fixed by #86
Open

Feature request: ipaddr filter #85

nicoaws opened this issue Apr 21, 2020 · 2 comments · May be fixed by #86

Comments

@nicoaws
Copy link

nicoaws commented Apr 21, 2020

Would be nice to be able to use the ansible ipaddr filter in jinja2-cli.

mattrobenolt added a commit that referenced this issue Apr 24, 2020
@mattrobenolt mattrobenolt linked a pull request Apr 24, 2020 that will close this issue
@mattrobenolt
Copy link
Owner

@dustnic wanna try out #86 ?

This adds a new flag which allows you to import this. I tested this by doing:

$ jinja2 -f ansible.plugins.filter.ipaddr.ipaddr test.txt

Which allowed the filter to be imported and used correctly.

mattrobenolt added a commit that referenced this issue Apr 24, 2020
@rddimon
Copy link

rddimon commented Mar 4, 2024

Hi @nicoaws @mattrobenolt

I would really appreciate custom filters!
Are going to add that feature?

rddimon pushed a commit to amplify-education/jinja2-cli that referenced this issue Mar 4, 2024
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

Successfully merging a pull request may close this issue.

3 participants