jinja2-cli icon indicating copy to clipboard operation
jinja2-cli copied to clipboard

Feature request: ipaddr filter

Open nicoaws opened this issue 4 years ago • 2 comments

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

nicoaws avatar Apr 21 '20 12:04 nicoaws

@dustnic wanna try out https://github.com/mattrobenolt/jinja2-cli/pull/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 avatar Apr 24 '20 04:04 mattrobenolt

Hi @nicoaws @mattrobenolt

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

rddimon avatar Mar 04 '24 11:03 rddimon