Skip to content

Config Template jinja2 with ipaddr / netaddr #12561

Discussion options

You must be logged in to vote

The ipaddr filter seems to be an ansible thing. You can add it in JINJA2_FILTERS yeah.

In your specific case you should also just be able to do {{ ip.address.ip }}

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@falz
Comment options

@kkthxbye-code
Comment options

@falz
Comment options

@markkuleinio
Comment options

@kkthxbye-code
Comment options

Answer selected by routeriac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants