From 73a6f5598e132ddf060df705c1ed5263caed37e7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 11 Apr 2021 02:00:16 +0200 Subject: ch-jump: finalize config --- chaos-at-home/ch-jump.yml | 1 + inventory/host_vars/ch-jump.yml | 5 +++++ 2 files changed, 6 insertions(+) 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 -- cgit v1.2.3