summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-hroottest.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-31 18:45:31 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-31 18:45:31 +0200
commit76bf053cf54de6cf83e09d4c1c23e59298d41c90 (patch)
treea1140a572b5a55ad368100e89144663127f8bed4 /inventory/host_vars/ch-hroottest.yml
parentcloud install: differnet kernel packages and no firmwares for virtual machines (diff)
ubuntu/vm: install special kernel image package
Diffstat (limited to 'inventory/host_vars/ch-hroottest.yml')
-rw-r--r--inventory/host_vars/ch-hroottest.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-hroottest.yml b/inventory/host_vars/ch-hroottest.yml
new file mode 100644
index 00000000..5de56794
--- /dev/null
+++ b/inventory/host_vars/ch-hroottest.yml
@@ -0,0 +1,50 @@
+---
+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
+ nat: yes
+ zfs:
+ default:
+ pool: storage
+ name: vm