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 ### 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 # 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 # 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 zfs_datasets: # DatenPools werden hier nicht verwaltet
- dataset: rpool/vm - dataset: rpool/vm
state: present state: present

View file

@ -36,7 +36,7 @@ all:
bastelstube-gui.grote.lan: bastelstube-gui.grote.lan:
proxmox: proxmox:
hosts: hosts:
pve2-test.grote.lan: pve2-test2.grote.lan:
pve2.grote.lan: pve2.grote.lan:
children: children:
proxmoxprod: proxmoxprod:
@ -73,7 +73,7 @@ all:
ansible-test.grote.lan: ansible-test.grote.lan:
docker-test.grote.lan: docker-test.grote.lan:
vm-test2.grote.lan: vm-test2.grote.lan:
pve2-test.grote.lan: pve2-test2.grote.lan:
gitea-test.grote.lan: gitea-test.grote.lan:
dnsmasq-test.grote.lan: dnsmasq-test.grote.lan:
ntp-server-test.grote.lan: ntp-server-test.grote.lan:

View file

@ -6,8 +6,8 @@
- { role: robertdebock.bootstrap, tags: "bootstrap", become: yes} - { role: robertdebock.bootstrap, tags: "bootstrap", become: yes}
- { role: mgrote.users, tags: "user", become: yes} - { role: mgrote.users, tags: "user", become: yes}
- { role: mgrote.r8152_kernel_module } - { role: mgrote.r8152_kernel_module }
- { role: mgrote.qemu_guest_agent }
- { role: mgrote.apt_manage_sources, tags: "apt_sources" } - { role: mgrote.apt_manage_sources, tags: "apt_sources" }
- { role: mgrote.qemu_guest_agent }
- { role: mgrote.apt_update_packages, tags: "updates"} - { role: mgrote.apt_update_packages, tags: "updates"}
post_tasks: post_tasks:
- name: Change user password - name: Change user password

View file

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