proxmox: simplify interface setup tasks
This commit is contained in:
parent
5038411af3
commit
d399fc0a24
2 changed files with 12 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
|||
{% for iface in hostvars[inventory_hostname].interfaces | selectattr('name', 'match', '^lan') %}
|
||||
{% for iface in interfaces | selectattr('name', 'match', '^lan') %}
|
||||
auto {{ iface.name }}
|
||||
iface {{ iface.name }}
|
||||
mtu 9216
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue