diff options
-rw-r--r-- | chaos-at-home/ch-jump.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ch-jump.yml | 5 |
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 |