summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-04-11 02:00:16 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-04-11 02:00:16 +0200
commit73a6f5598e132ddf060df705c1ed5263caed37e7 (patch)
tree6c6ad08bd6f22ab8a09a175a2fe62c4caa2bad8e
parentenable recording for glt encoder (diff)
ch-jump: finalize config
-rw-r--r--chaos-at-home/ch-jump.yml1
-rw-r--r--inventory/host_vars/ch-jump.yml5
2 files changed, 6 insertions, 0 deletions
diff --git a/chaos-at-home/ch-jump.yml b/chaos-at-home/ch-jump.yml
index a82724d9..38d794ab 100644
--- a/chaos-at-home/ch-jump.yml
+++ b/chaos-at-home/ch-jump.yml
@@ -6,4 +6,5 @@
- role: core/base
- role: core/sshd
- role: core/zsh
+ - role: core/ntp
- role: core/admin-users
diff --git a/inventory/host_vars/ch-jump.yml b/inventory/host_vars/ch-jump.yml
index e61cad17..6ce2bb26 100644
--- a/inventory/host_vars/ch-jump.yml
+++ b/inventory/host_vars/ch-jump.yml
@@ -1,4 +1,6 @@
---
+install_jumphost: ch-gw-lan
+
install:
vm:
memory: 768M
@@ -27,6 +29,9 @@ network:
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_
- name: mgmt0