diff options
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-atlas.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ele-gwmur.yml | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-atlas.yml b/inventory/host_vars/ch-atlas.yml index e9771732..cf1e2303 100644 --- a/inventory/host_vars/ch-atlas.yml +++ b/inventory/host_vars/ch-atlas.yml @@ -15,6 +15,7 @@ vm_host: offsets: ch-keyserver: 3 ch-testvm: 4 + ele-gwmur: 5 s2-k8s-test0: 7 s2-k8s-test1: 8 r3-vex2: 11 diff --git a/inventory/host_vars/ele-gwmur.yml b/inventory/host_vars/ele-gwmur.yml new file mode 100644 index 00000000..1674540b --- /dev/null +++ b/inventory/host_vars/ele-gwmur.yml @@ -0,0 +1,35 @@ +--- +apt_repo_provider: ffgraz + +vm_host: ch-atlas + +install: + host: "{{ vm_host }}" + mem: 1024 + numcpu: 1 + disks: + primary: /dev/sda + scsi: + sda: + type: lvm + vg: "{{ hostvars[vm_host].host_name }}" + lv: "{{ inventory_hostname }}" + size: 5g + interfaces: + - bridge: br-public + name: primary0 + mac: 52:54:00:43:f1:35 + autostart: False + +network: + nameservers: "{{ hostvars[vm_host].vm_host.network.dns }}" + domain: "{{ host_domain }}" + systemd_link: + interfaces: "{{ install.interfaces }}" + primary: + interface: primary0 + ip: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr(hostvars[vm_host].vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address') }}" + mask: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr('netmask') }}" + gateway: "{{ hostvars[vm_host].vm_host.network.bridges.public.gateway }}" + prefix6: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix6 | ipaddr(hostvars[vm_host].vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address/prefix') }}" + gateway6: "{{ hostvars[vm_host].vm_host.network.bridges.public.gateway6 }}" |