diff --git a/host_vars/pve2-test.grote.lan.yml b/host_vars/pve2-test2.grote.lan.yml similarity index 77% rename from host_vars/pve2-test.grote.lan.yml rename to host_vars/pve2-test2.grote.lan.yml index 7464a458..e80ea38f 100644 --- a/host_vars/pve2-test.grote.lan.yml +++ b/host_vars/pve2-test2.grote.lan.yml @@ -1,13 +1,9 @@ --- ### mgrote.zfs_manage_datasets - # "Daten"-Datasets verwalte ich händisch! - # zfs create -o encryption=aes-256-gcm -o keyformat=passphrase hdd_data_raidz/data_crypt - # zfs create hdd_data_raidz/videos - # Pools müssen vorher erstellt sein! # rpool - # zpool create -f -o ashift=12 rpool mirror /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi8 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi10 + # zpool create -f -o ashift=12 rpool mirror /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi2 # HDD_DATA_RAIDZ - # zpool create -f -o ashift=12 hdd_data_raidz raidz /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi9 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi3 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi4 + # zpool create -f -o ashift=12 hdd_data_raidz raidz /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi3 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi4 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi5 zfs_datasets: # DatenPools werden hier nicht verwaltet - dataset: rpool/vm state: present diff --git a/inventory b/inventory index 9edc5569..5d6a56b3 100644 --- a/inventory +++ b/inventory @@ -36,7 +36,7 @@ all: bastelstube-gui.grote.lan: proxmox: hosts: - pve2-test.grote.lan: + pve2-test2.grote.lan: pve2.grote.lan: children: proxmoxprod: @@ -73,7 +73,7 @@ all: ansible-test.grote.lan: docker-test.grote.lan: vm-test2.grote.lan: - pve2-test.grote.lan: + pve2-test2.grote.lan: gitea-test.grote.lan: dnsmasq-test.grote.lan: ntp-server-test.grote.lan: diff --git a/playbooks/1_bootstrap.yml b/playbooks/1_bootstrap.yml index 65773141..17cf566a 100644 --- a/playbooks/1_bootstrap.yml +++ b/playbooks/1_bootstrap.yml @@ -6,8 +6,8 @@ - { role: robertdebock.bootstrap, tags: "bootstrap", become: yes} - { role: mgrote.users, tags: "user", become: yes} - { role: mgrote.r8152_kernel_module } - - { role: mgrote.qemu_guest_agent } - { role: mgrote.apt_manage_sources, tags: "apt_sources" } + - { role: mgrote.qemu_guest_agent } - { role: mgrote.apt_update_packages, tags: "updates"} post_tasks: - name: Change user password diff --git a/roles/mgrote.ntp_chrony_client/tasks/main.yml b/roles/mgrote.ntp_chrony_client/tasks/main.yml index 6470379d..87135305 100644 --- a/roles/mgrote.ntp_chrony_client/tasks/main.yml +++ b/roles/mgrote.ntp_chrony_client/tasks/main.yml @@ -5,6 +5,8 @@ name: systemd-timesyncd state: stopped masked: yes + when: + - not "'proxmox' in group_names" - name: gather package facts become: yes