look for PV to resize instead of static /dev/sdb

This commit is contained in:
ROTTLER Tamas 2023-08-24 23:26:04 +02:00
parent 6283e0f825
commit 76275de111

View File

@ -391,11 +391,11 @@
line: "relayhost = {{ postfix_relayhost }}"
when: postfix_relayhost is defined
- name: pvresize /dev/sdb
- name: pvresize
tags:
- lvm
- vmware
command: 'pvresize /dev/sdb'
shell: 'pvresize $(pvs --noheadings -o pv_name)'
- name: /data in fstab
tags: lvm