# Multiple SCSI Adapters - vmware\_guest or vsphere\_guest

**URL:** <https://forum.ansible.com/t/multiple-scsi-adapters-vmware-guest-or-vsphere-guest/23982>\
**Category:** Ansible Developer\
**Created:** [March 15, 2017, 6:22pm UTC](https://forum.ansible.com/t/multiple-scsi-adapters-vmware-guest-or-vsphere-guest/23982 "2017-03-15T18:22:37Z")\
**Posts on this page:** 1\
**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 15, 2017, 6:22pm UTC](https://forum.ansible.com/t/multiple-scsi-adapters-vmware-guest-or-vsphere-guest/23982/1 "2017-03-15T18:22:37Z")

</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?
