blob: 688fa66fc205c780a0d817adc9248921ed2a0f2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
---
__vmhost_bridge_interface_zones__:
eno1: "{{ network_zones | dict2items | rejectattr('value.vlan', 'undefined') | map(attribute='key') | difference(['lan']) }}"
__vmhost_bridge_interface_zones_yaml__: |
{% for interface in (__vmhost_bridge_interface_zones__.keys() | sort) %}
{% for zone in __vmhost_bridge_interface_zones__[interface] %}
{{ zone }}:
interfaces:
- {{ interface }}.{{ network_zones[zone].vlan }}
{% endfor %}
{% endfor %}
lan:
interfaces:
- enp3s0
vm_host:
name: ele-telesto
network:
bridges: "{{ __vmhost_bridge_interface_zones_yaml__ | from_yaml }}"
zfs:
default:
pool: ssd
name: vm
properties:
compression: lz4
storage:
pool: storage
name: vm
properties:
compression: lz4
|