fixed subnetmask appending to ips
This commit is contained in:
parent
2dc81fdff5
commit
ca287d6871
1 changed files with 1 additions and 1 deletions
|
|
@ -5,6 +5,6 @@ ff02::2 ip6-allrouters
|
||||||
|
|
||||||
{% for n in vm['nics']|default([]) %}
|
{% for n in vm['nics']|default([]) %}
|
||||||
{% for i in vm['nics'][n].protocol if vm['nics'][n].protocol[i].type == "static" %}
|
{% for i in vm['nics'][n].protocol if vm['nics'][n].protocol[i].type == "static" %}
|
||||||
{{vm['nics'][n].protocol[i].options['address']}} {{ inventory_hostname }} {{ inventory_hostname_short }}
|
{{ vm['nics'][n].protocol[i].options['address'].split('/')[0] }} {{ inventory_hostname }} {{ inventory_hostname_short }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue