diff options
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-apps.yml | 33 | ||||
-rw-r--r-- | inventory/host_vars/ch-nic.yml | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-apps.yml b/inventory/host_vars/ch-apps.yml new file mode 100644 index 00000000..1f2e02bc --- /dev/null +++ b/inventory/host_vars/ch-apps.yml @@ -0,0 +1,33 @@ +--- +install_jumphost: ch-jump + +install: + vm: + memory: 8G + numcpus: 6 + autostart: True + disks: + primary: /dev/sda + scsi: + sda: + type: zfs + name: root + size: 10g + interfaces: + - bridge: br-svc + name: svc0 + +network: + nameservers: "{{ network_zones.svc.dns }}" + domain: "{{ host_domain }}" + systemd_link: + interfaces: "{{ install.interfaces }}" + primary: &_network_primary_ + name: svc0 + address: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address/prefix') }}" + gateway: "{{ network_zones.svc.gateway }}" + static_routes: + - destination: "{{ network_zones.lan.prefix }}" + gateway: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ipaddr('address') }}" + interfaces: + - *_network_primary_ diff --git a/inventory/host_vars/ch-nic.yml b/inventory/host_vars/ch-nic.yml index 60c68f57..4a323853 100644 --- a/inventory/host_vars/ch-nic.yml +++ b/inventory/host_vars/ch-nic.yml @@ -1,4 +1,6 @@ --- +install_jumphost: ch-jump + install: vm: memory: 768M |