Answers for "nested variable in jinja tempalte"

0

nested variable in jinja tempalte

{{ fqdn }}
{% for interface in hosts[fqdn] %}
    {{ interface }}
    {{ hosts[fqdn][interface]['ip'] }}
{% endfor %}
Posted by: Guest on December-14-2020

Browse Popular Code Answers by Language