diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-06-21 20:56:13 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-06-21 20:56:13 +0200 |
commit | 301e6e0c861379284508209b36a6c8b23ab62f54 (patch) | |
tree | 34edb272342f9ec83d22d01199a52b9b62cddc90 /_graveyard_/inventory/host_vars/r3-cccamp19-verr.yml | |
parent | address vs prefix (diff) |
move r3-cccamp19 stuff to _graveyard_, introduce new kvm groups
Diffstat (limited to '_graveyard_/inventory/host_vars/r3-cccamp19-verr.yml')
-rw-r--r-- | _graveyard_/inventory/host_vars/r3-cccamp19-verr.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/_graveyard_/inventory/host_vars/r3-cccamp19-verr.yml b/_graveyard_/inventory/host_vars/r3-cccamp19-verr.yml new file mode 100644 index 00000000..f4e70d57 --- /dev/null +++ b/_graveyard_/inventory/host_vars/r3-cccamp19-verr.yml @@ -0,0 +1,38 @@ +--- +_vm_host_: helene + +install: + vm: + host: "{{ _vm_host_ }}" + mem: 4096 + numcpu: 4 + autostart: True + disks: + primary: /dev/sda + scsi: + sda: + type: lvm + vg: "{{ hostvars[_vm_host_].host_name }}" + lv: "{{ inventory_hostname }}" + size: 20g + interfaces: + - bridge: lan-br + name: lan0 + - bridge: camp19-br + name: camp0 + +network: + nameservers: "{{ network_zones.lan.dns }}" + domain: "{{ host_domain }}" + systemd_link: + interfaces: "{{ install.interfaces }}" + primary: + interface: lan0 + ip: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}" + mask: "{{ network_zones.lan.prefix | ipaddr('netmask') }}" + gateway: "{{ network_zones.lan.gateway }}" + +install_playbook: r3-cccamp19_vm + +dyndns: + server: ch-pan |