# vmware\_guest or vsphere\_guest - Mulitple SCSI devices

**URL:** <https://forum.ansible.com/t/vmware-guest-or-vsphere-guest-mulitple-scsi-devices/23933>\
**Category:** Ansible Project\
**Created:** [March 10, 2017, 9:57pm UTC](https://forum.ansible.com/t/vmware-guest-or-vsphere-guest-mulitple-scsi-devices/23933 "2017-03-10T21:57:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Kile](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Adam\_Kile](https://forum.ansible.com/u/Adam_Kile)\
**Post date:** [March 10, 2017, 9:57pm UTC](https://forum.ansible.com/t/vmware-guest-or-vsphere-guest-mulitple-scsi-devices/23933/1 "2017-03-10T21:57:43Z")

</div>

We’ve started using Ansible to automate some VM builds within some of our environments. For one of our builds, we have a VM which has about 20 disks. When using vmware\_guest, if we add all 20 disks, the task bombs with:

fatal: [127.0.0.1]: FAILED! =\> {“changed”: true, “failed”: true, “msg”: “A specified parameter was not correct: unitNumber”}

If we comment out 5 of the disks (VM would have 15), the task will succeed.

This leads me to believe that the vmware\_guest module will not automatically add another scsi controller (1:0) and start adding disks to that once the limit for the first controller has been reached.

We’ve also tried using vsphere\_guest, with something like:

vm\_extra\_config:  
scsi1.present: true  
scsi1.sharedBus: none  
scsi1.virtualDev: pvscsi

To try and add that second device to the VMX file. The VM builds, but it doesn’t have the extra controller.

Has anyone come across this before?

---

<div class="post-metadata">

**Author:** ![llmiell\_Sanimzz](https://avatars.discourse-cdn.com/v4/letter/l/ee7513/32.png) [@llmiell\_Sanimzz](https://forum.ansible.com/u/llmiell_Sanimzz)\
**Post date:** [August 28, 2018, 10:36am UTC](https://forum.ansible.com/t/vmware-guest-or-vsphere-guest-mulitple-scsi-devices/23933/2 "2018-08-28T10:36:53Z")

</div>

Hi ,

Have any update for this case?

It’s useful for me if there are solutions.

Sk
