summaryrefslogtreecommitdiff
path: root/inventory/host_vars/sk-tomnext-nc.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-23 07:50:16 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-25 00:04:27 +0200
commit2a442070a042e2e27a64a6c4119df7a7fd635798 (patch)
tree863245e72fb011ea375c4230a341e947d9bce900 /inventory/host_vars/sk-tomnext-nc.yml
parentmajor revamp for zfs based vm images (diff)
sk-tomnext and both VMs running on it are finally done
Diffstat (limited to 'inventory/host_vars/sk-tomnext-nc.yml')
-rw-r--r--inventory/host_vars/sk-tomnext-nc.yml66
1 files changed, 63 insertions, 3 deletions
diff --git a/inventory/host_vars/sk-tomnext-nc.yml b/inventory/host_vars/sk-tomnext-nc.yml
index a302a298..19117003 100644
--- a/inventory/host_vars/sk-tomnext-nc.yml
+++ b/inventory/host_vars/sk-tomnext-nc.yml
@@ -11,15 +11,15 @@ install:
sda:
type: zfs
name: root
- size: 50g
+ size: 15g
sdb:
type: zfs
name: data
- size: 20g
+ size: 600g
interfaces:
- bridge: br-public
name: primary0
- autostart: False
+ autostart: True
network:
nameservers: "{{ hostvars[vm_host].vm_host.network.dns }}"
@@ -34,3 +34,63 @@ network:
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 }}"
+
+
+apt_repo_components:
+- main
+- contrib ## for zfs
+
+
+zfs_arc_size:
+ min: "{{ 2 * 1024 * 1024 * 1024 }}"
+ max: "{{ 8 * 1024 * 1024 * 1024 }}"
+
+zfs_zpools:
+ storage:
+ mountpoint: /srv/storage
+ create_vdevs: /dev/sdb
+
+zfs_sanoid_modules:
+ storage/nextcloud:
+ use_template: production
+ recursive: yes
+ process_children_only: yes
+
+
+docker_zfs:
+ pool: storage
+ name: docker
+ size: 15G
+
+kubelet_zfs:
+ pool: storage
+ name: kubelet
+ size: 15G
+
+kubernetes_version: 1.18.3
+kubernetes_container_runtime: docker
+kubernetes_standalone_max_pods: 15
+kubernetes_standalone_pod_cidr: 192.168.255.0/24
+kubernetes_standalone_cni_variant: with-portmap
+
+
+acmetool_directory_server: "{{ acmetool_directory_server_le_live_v2 }}"
+
+
+nextcloud_zfs:
+ pool: storage
+ name: nextcloud
+ size: 500G
+
+nextcloud_instances:
+ team.tomwaitz.eu:
+ # new: true
+ version: 18.0.4
+ port: 8100
+ hostnames:
+ - team.tomwaitz.eu
+ quota: 100G
+ database:
+ type: mariadb
+ version: 10.5.3
+ password: "{{ vault_nextcloud_database_passwords['team.tomwaitz.eu'] }}"