Hi,
I have input file that include the following parameter.
internal_network_reverse: 0.10
and a jinja template file that include the following line
zone “{{ internal_network_reverse | default (‘168.192’) }}.in-addr.arpa”
The required output I wish to get is zone “0.10.in-addr.arpa”
Instead, I’m getting this zone “0.1.in-addr.arpa” ; Without the zero
I have tried using string and float but still I’m not getting the required result.
zone “{{ internal_network_reverse | string | default (‘168.192’) }}.in-addr.arpa”
zone “{{ internal_network_reverse | float | default (‘168.192’) }}.in-addr.arpa”
Any suggestions??
*Please note that I don’t want to add “ “ in my input file - this way it is working but I need to avoid the use of “ “