diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-10-16 12:36:04 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-10-16 12:36:04 +0200 |
commit | 426f7b3dde4b12919590092b6ad56576fb668230 (patch) | |
tree | 3c9d70961b4642a0c32f2a031b67b9204886d35e /inventory/host_vars/ch-omd.yml | |
parent | prometues: add some more smartmon alerts (diff) |
add test host for OMD
Diffstat (limited to 'inventory/host_vars/ch-omd.yml')
-rw-r--r-- | inventory/host_vars/ch-omd.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-omd.yml b/inventory/host_vars/ch-omd.yml new file mode 100644 index 00000000..7f514a5d --- /dev/null +++ b/inventory/host_vars/ch-omd.yml @@ -0,0 +1,33 @@ +--- +install_jumphost: ch-jump + +install: + vm: + memory: 8G + numcpus: 4 + autostart: yes + disks: + primary: /dev/sda + scsi: + sda: + type: zfs + name: root + size: 50g + 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_ |