mirror of
https://github.com/mrlesmithjr/ansible-manage-lvm.git
synced 2025-12-14 22:04:48 +03:00
* Fix: improve centos7/8 recognize scsi disk resize without reboot
This commit is contained in:
@@ -114,3 +114,10 @@
|
|||||||
command: /usr/bin/rescan-scsi-bus.sh
|
command: /usr/bin/rescan-scsi-bus.sh
|
||||||
become: true
|
become: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
when: scsi_devices.stdout != ""
|
||||||
|
|
||||||
|
- name: centos | rescanning for resized disks
|
||||||
|
command: /usr/bin/rescan-scsi-bus.sh -s
|
||||||
|
become: true
|
||||||
|
changed_when: false
|
||||||
|
when: scsi_devices.stdout != ""
|
||||||
|
|||||||
Reference in New Issue
Block a user