summaryrefslogtreecommitdiff
path: root/inventory/host_vars/sk-testvm.yml
blob: e1a94c60f1879f60885f11f48cffdefb821ba387 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
vm_host: sk-2019vm

install:
  host: "{{ vm_host }}"
  mem: 10240
  numcpu: 4
  disks:
    primary: /dev/sda
    scsi:
      sda:
        type: zfs
        pool: storage
        name: "{{ inventory_hostname }}"
        size: 50g
  interfaces:
  - bridge: br-public
    name: primary0
  autostart: False

network:
  nameservers: "{{ hostvars[vm_host].vm_host.network.dns }}"
  domain: "{{ host_domain }}"
  systemd_link:
    interfaces: "{{ install.interfaces }}"
  primary:
    interface: primary0
    ip: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr(hostvars[vm_host].vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address') }}"
    mask: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr('netmask') }}"
    gateway: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr('address') }}"
    overlay: "{{ (hostvars[vm_host].vm_host.network.bridges.public.overlay.prefix | ipaddr(hostvars[vm_host].vm_host.network.bridges.public.overlay.offsets[inventory_hostname])).split('/')[0] }}"

external_ip: "{{ network.primary.overlay }}"

### this machine will be used to migrate wolke.chaox.org:
#
# https://owncloud.org/news/upgrading-owncloud-on-debian-stable-to-official-packages/
#

docker_lvm:
  vg: "{{ host_name }}"
  lv: docker
  size: 10G
  fs: ext4

kubelet_lvm:
  vg: "{{ host_name }}"
  lv: kubelet
  size: 5G
  fs: ext4


kubernetes_version: 1.18.2
kubernetes_container_runtime: docker
kubernetes_standalone_max_pods: 42
kubernetes_standalone_pod_cidr: 192.168.255.0/24
kubernetes_standalone_cni_variant: with-portmap


nginx_server_names_hash_bucket_size: 64
acmetool_directory_server: "{{ acmetool_directory_server_le_live_v2 }}"


jitsi_meet_base_path: /srv/jitsi/meet

jitsi_meet_version: stable-4548-1
jitsi_meet_hostnames:
  - meet-dev.elev8.at

jitsi_meet_secrets: "{{ vault_jitsi_meet_secrets }}"


nextcloud_base_path: /srv/nextcloud
nextcloud_instances:
  wolke-dev.elev8.at:
    # new: true
    version: 18.0.4
    port: 8100
    hostnames:
    - wolke-dev.elev8.at
    database:
      type: mariadb
      version: 10.4.13
      password: "{{ vault_nextcloud_database_passwords['wolke-dev.elev8.at'] }}"