diff options
Diffstat (limited to '_graveyard_/inventory/host_vars')
-rw-r--r-- | _graveyard_/inventory/host_vars/ch-omd.yml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/_graveyard_/inventory/host_vars/ch-omd.yml b/_graveyard_/inventory/host_vars/ch-omd.yml new file mode 100644 index 00000000..80c6d632 --- /dev/null +++ b/_graveyard_/inventory/host_vars/ch-omd.yml @@ -0,0 +1,55 @@ +--- +install_jumphost: ch-jump + +install: + vm: + memory: 8G + numcpus: 4 + autostart: yes + disks: + primary: /dev/sda + scsi: + sda: + type: zfs + name: root + size: 50g + system_lvm: + volumes: + - name: root + size: 3G + filesystem: ext4 + mountpoint: / + - name: var + size: 1280M + filesystem: ext4 + mountpoint: /var + - name: var+log + size: 768M + filesystem: ext4 + mountpoint: /var/log + mount_options: + - noatime + - nodev + - noexec + - name: opt + size: 10G + filesystem: ext4 + mountpoint: /opt + 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 | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) }}" + gateway: "{{ network_zones.svc.gateway }}" + static_routes: + - destination: "{{ network_zones.lan.prefix }}" + gateway: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ansible.utils.ipaddr('address') }}" + interfaces: + - *_network_primary_ |