summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-router-obsd.yml
blob: 98ac58f629f62604b92908e13e711844bf8d5a39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
install_jumphost: ch-jump

install:
  vm:
    memory: 512M
    numcpus: 1
    autostart: True
  disks:
    primary: /dev/sda
    virtio:
      vda:
        type: zfs
        name: root
        size: 10g
  interfaces:
  - bridge: br-svc
    name: vio0

network:
  nameservers: "{{ network_zones.svc.dns }}"
  domain: "{{ host_domain }}"
  primary: &_network_primary_
    name: vio0
    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_

sshd_allowusers_host: "{{ normal_users_host | union(admin_users_host) | union(['greenbone']) }}"

# https://www.pauladamsmith.com/blog/2018/07/fixing-bufferbloat-on-your-home-network-with-openbsd-6.2-or-newer.html