From f50911dead814f0d38b6a16ca4548fae89a0cc44 Mon Sep 17 00:00:00 2001 From: mg Date: Mon, 8 Aug 2022 21:26:56 +0200 Subject: [PATCH] Role: LVM: sd* --> by-id (#402) Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/402 --- group_vars/acng.yml | 2 +- group_vars/docker.yml | 2 +- group_vars/gitea.yml | 2 +- host_vars/docker7.grote.lan.yml | 4 ++-- host_vars/docker8.grote.lan.yml | 4 ++-- host_vars/docker9.grote.lan.yml | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/group_vars/acng.yml b/group_vars/acng.yml index 8d321fa6..2df51360 100644 --- a/group_vars/acng.yml +++ b/group_vars/acng.yml @@ -3,7 +3,7 @@ lvm_groups: - vgname: vg_acng disks: - - /dev/sdb + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 create: true lvnames: - lvname: lv_acng diff --git a/group_vars/docker.yml b/group_vars/docker.yml index f3d5cbc1..187f306e 100644 --- a/group_vars/docker.yml +++ b/group_vars/docker.yml @@ -3,7 +3,7 @@ lvm_groups: - vgname: vg_docker disks: - - /dev/sdb + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 create: true lvnames: - lvname: lv_docker diff --git a/group_vars/gitea.yml b/group_vars/gitea.yml index c20a3174..57751eff 100644 --- a/group_vars/gitea.yml +++ b/group_vars/gitea.yml @@ -3,7 +3,7 @@ lvm_groups: - vgname: vg_gitea_data disks: - - /dev/sdb + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 create: true lvnames: - lvname: lv_gitea_data diff --git a/host_vars/docker7.grote.lan.yml b/host_vars/docker7.grote.lan.yml index 2c6d23c1..0f888680 100644 --- a/host_vars/docker7.grote.lan.yml +++ b/host_vars/docker7.grote.lan.yml @@ -9,7 +9,7 @@ lvm_groups: - vgname: vg_docker disks: - - /dev/sdc + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 create: true lvnames: - lvname: lv_docker @@ -20,7 +20,7 @@ mntp: /var/lib/docker - vgname: vg_docker2 disks: - - /dev/sdb + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi2 create: true lvnames: - lvname: lv_docker2 diff --git a/host_vars/docker8.grote.lan.yml b/host_vars/docker8.grote.lan.yml index 755ccf27..1c90044c 100644 --- a/host_vars/docker8.grote.lan.yml +++ b/host_vars/docker8.grote.lan.yml @@ -3,7 +3,7 @@ lvm_groups: - vgname: vg_nextcloud disks: - - /dev/sdc + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 create: true lvnames: - lvname: lv_nextcloud @@ -14,7 +14,7 @@ mntp: /mnt/nextcloud - vgname: vg_docker disks: - - /dev/sdb + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi2 create: true lvnames: - lvname: lv_docker diff --git a/host_vars/docker9.grote.lan.yml b/host_vars/docker9.grote.lan.yml index 2949fe6a..eaa0ec48 100644 --- a/host_vars/docker9.grote.lan.yml +++ b/host_vars/docker9.grote.lan.yml @@ -3,7 +3,7 @@ lvm_groups: - vgname: vg_drone disks: - - /dev/sdc + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 create: true lvnames: - lvname: lv_drone @@ -14,7 +14,7 @@ mntp: /drone - vgname: vg_docker disks: - - /dev/sdb + - /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi2 create: true lvnames: - lvname: lv_docker