pve2-test --> pve2-test2 (#323)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#323
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2022-02-07 20:24:21 +01:00
parent d4873c27a8
commit 316632ac90
4 changed files with 7 additions and 9 deletions

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -5,6 +5,8 @@
name: systemd-timesyncd
state: stopped
masked: yes
when:
- not "'proxmox' in group_names"
- name: gather package facts
become: yes