diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-08-27 20:56:43 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-08-27 21:08:48 +0200 |
commit | f62e9e70fa1ede4ebfadc256d19ccdac34f7ae94 (patch) | |
tree | af16b032dcd724398ce8d863b38e0052d7836ae7 /inventory/host_vars | |
parent | chaos-at-home: fix network_services (diff) |
add ch-imap-proxy
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-imap-proxy.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-imap-proxy.yml b/inventory/host_vars/ch-imap-proxy.yml new file mode 100644 index 00000000..8034750f --- /dev/null +++ b/inventory/host_vars/ch-imap-proxy.yml @@ -0,0 +1,33 @@ +--- +install_jumphost: ch-jump + +install: + vm: + memory: 2G + numcpus: 2 + 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_ |