summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-imap-proxy.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-08-27 20:56:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-08-27 21:08:48 +0200
commitf62e9e70fa1ede4ebfadc256d19ccdac34f7ae94 (patch)
treeaf16b032dcd724398ce8d863b38e0052d7836ae7 /inventory/host_vars/ch-imap-proxy.yml
parentchaos-at-home: fix network_services (diff)
add ch-imap-proxy
Diffstat (limited to 'inventory/host_vars/ch-imap-proxy.yml')
-rw-r--r--inventory/host_vars/ch-imap-proxy.yml33
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_