From 76bf053cf54de6cf83e09d4c1c23e59298d41c90 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 31 May 2020 18:45:31 +0200 Subject: ubuntu/vm: install special kernel image package --- inventory/host_vars/ch-hroottest.yml | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 inventory/host_vars/ch-hroottest.yml (limited to 'inventory/host_vars/ch-hroottest.yml') 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 -- cgit v1.2.3