summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-testvm.yml
blob: f6de735bd9004f492603ed9853b2439b290148b4 (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
---
install:
  efi: true
  vm:
    memory: 1G
    numcpus: 1
    autostart: False
    pci_passthrough:
    - domain: 0 # Ethernet (eno2)
      bus: 2
      slot: 0
      function: 0
  disks:
    primary: /dev/sda
    scsi:
      sda:
        type: lvm
        vg: "{{ hostvars[vm_host.name].host_name }}"
        lv: "vm_{{ inventory_hostname }}_system"
        size: 10g

network:
  nameservers: "{{ network_zones.lan.dns }}"
  domain: "{{ host_domain }}"
  primary: &_network_primary_
    name: enp3s0
    address: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}"
    gateway: "{{ network_zones.lan.gateway }}"
  interfaces:
  - *_network_primary_

ntp_variant: systemd-timesyncd