# Problem handling spaces in  vm\_nic in vsphere\_guest

**URL:** <https://forum.ansible.com/t/problem-handling-spaces-in-vm-nic-in-vsphere-guest/26333>\
**Category:** Ansible Project\
**Created:** [December 19, 2017, 7:27pm UTC](https://forum.ansible.com/t/problem-handling-spaces-in-vm-nic-in-vsphere-guest/26333 "2017-12-19T19:27:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Chiles](https://avatars.discourse-cdn.com/v4/letter/g/51bf81/32.png) [@George\_Chiles](https://forum.ansible.com/u/George_Chiles)\
**Post date:** [December 19, 2017, 7:27pm UTC](https://forum.ansible.com/t/problem-handling-spaces-in-vm-nic-in-vsphere-guest/26333/1 "2017-12-19T19:27:57Z")

</div>

I am having a issue when trying to configure my network adapter when a space is present in the network label.  
I am using vsphere\_guest module to accomplish this task . When I pass in VLAN 123 I get the below behavior. However, is there is no space(s) present everything works as expected  
Any suggestions.

“vm\_nic”: {  
“nic1”: {  
“network”: “VLAN”,  
“network\_type”: “standard”,  
“type”: “vmxnet3”  
}

Thank you.  
G
