summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-apt.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-apt.yml')
-rw-r--r--inventory/host_vars/ch-apt.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-apt.yml b/inventory/host_vars/ch-apt.yml
new file mode 100644
index 00000000..c6260c54
--- /dev/null
+++ b/inventory/host_vars/ch-apt.yml
@@ -0,0 +1,39 @@
+---
+install_jumphost: ch-jump
+
+install:
+ vm:
+ memory: 2G
+ numcpus: 2
+ autostart: True
+ disks:
+ primary: /dev/sda
+ scsi:
+ sda:
+ type: zfs
+ name: root
+ size: 10g
+ sdb:
+ type: zfs
+ name: data
+ size: 20g
+ properties:
+ 'syncoid:sync': 'false'
+ 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_