summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-hroottest.yml
blob: 555791cad2816a762bd6a395b51018fdd0c7fdc3 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
install:
  cloud:
    credentials: "{{ vault_hroot_robot_account }}"
    server_name: "{{ host_name }}"
  disks:
    layout: sata_raid
    root_lvm_size: 10G

network: {}


apt_repo_components:
  - main
  - contrib  ## for zfs
  - non-free ## for microcode updates


zfs_arc_size:
  min: "{{ 1 * 1024 * 1024 * 1024 }}"
  max: "{{ 4 * 1024 * 1024 * 1024 }}"

zfs_zpools:
  storage:
    mountpoint: /srv/storage
    create_vdevs: mirror /dev/disk/by-id/ata-SAMSUNG_HD753LJ_S13UJ1LS801071-part3 /dev/disk/by-id/ata-SAMSUNG_HD753LJ_S13UJ1BQ802393-part3

zfs_sanoid_modules:
  storage/vm:
    use_template: production
    recursive: yes
    process_children_only: yes


vm_host:
  network:
    dns:
    - 213.133.100.100
    - 213.133.98.98
    - 213.133.99.99
    bridges:
      public:
        prefix: 192.168.250.254/24
        offsets:
          ch-hroottest-vm1: 100
          ch-hroottest-obsd: 101
          ch-k8s-m2: 200
          ch-k8s-w0: 210
          ch-k8s-w1: 211
        nat: yes
  zfs:
    default:
      pool: storage
      name: vm
      properties:
        compression: lz4