I'm trying to write an ansible playbook to automaticly scan new disks and put it into an existing VG and than extend it.

Unfortunately I can't figure out how Linux knows the next device mapper for example (/dev/sdc), to create a perfect ansible playbook to execute this task for me.

Scanning new disk online:

```
echo 0 0 0 | tee /sys/class/scsi_host/host*/scan

```

Someone have any idea about this?

Thanks.