Hello, 

I am deploying vms with vmware_guest module, and I need to edit "number of 
cores per socket" what statement should I use ?

I tried the following statement but it always give me error. 

    customvalues:
      - key: cpuid.coresPerSocket
        value: 2

Error : 




fatal: [kuber-n-03 -> localhost]: FAILED! => {"changed": false, "msg": 
"Failed t                                                                  
                                           o set custom value for 
key='numvcpus' and value='two'. Error was: (vmodl.fault.I                  
                                                                            
               nvalidArgument) {\n   dynamicType = <unset>,\n  
 dynamicProperty = (vmodl.Dynami                                            
                                                                 cProperty) 
[],\n   msg = 'A specified parameter was not correct. \\nkey',\n   fa      
                                                                            
                           ultCause = <unset>,\n   faultMessage = 
(vmodl.LocalizableMessage) [],\n   invali                                  
                                                                          
 dProperty = u'key'\n}"}



When I set 

    customvalues:
      - key: cpuid.coresPerSocket
        value: two


Error: 
> localhost]: FAILED! => {"changed": false, "msg": "Failed t                
                                                                            
                 o set custom value for key='numvcpus' and value='two'. 
Error was: (vmodl.fault.I                                                  
                                                           nvalidArgument) 
{\n   dynamicType = <unset>,\n   dynamicProperty = (vmodl.Dynami            
                                                                            
                     cProperty) [],\n   msg = 'A specified parameter was 
not correct. \\nkey',\n   fa                                                
                                                             ultCause = 
<unset>,\n   faultMessage = (vmodl.LocalizableMessage) [],\n   invali      
                                                                            
                           dProperty = u'key'\n}"

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6b5b3e1f-7225-491c-9c13-ff20952bd398%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to