summaryrefslogtreecommitdiff
path: root/inventory/group_vars/vmhost-ch-phoebe/vars.yml
blob: 8b1d9d1dbdd3bf7602241169b6d14265747174fc (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
32
33
34
---
__vmhost_bridge_interface_zones__:
  eno3:
  - iot
  - mgmt
  eno4:
  - magenta

__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:
    - eno1
  svc:
    interfaces:
    - eno2


vm_host:
  name: ch-phoebe
  network:
    bridges: "{{ __vmhost_bridge_interface_zones_yaml__ | from_yaml }}"
  zfs:
    default:
      pool: nvme
      name: vm
      properties:
        compression: lz4