If I give the same values without Jinga2 substitution everything works, 
fine?

size_gb: 10

That's what let me assume that it is not a problem in the module itself.

pysphere==0.1.8

Should I still file a bug?



Am Montag, 12. Mai 2014 19:08:59 UTC+2 schrieb Michael DeHaan:
>
> This sounds much more like the module is unhappy with the input for the 
> vsphere module.
>
> Please make sure there is a ticket on github.com/ansible/ansible and we 
> can dig into this.
>
> The version of the vsphere library you are using may also be relevant.
>
>
>
>
> On Mon, May 12, 2014 at 8:10 AM, Oliver Heinz 
> <oliver.h...@googlemail.com<javascript:>
> > wrote:
>
>> I have a group var definition:
>> vm_disk_size: 10
>>
>> In the tasks main file I have the option (action is vsphere_guest 
>> http://docs.ansible.com/vsphere_guest_module.html)
>>
>>            size_gb: "{{ vm_disk_size|int }}"
>>
>> The Error I get is:
>> msg: Config mismatch for vm_disk on [('size_gb', <type 'int'>)]
>>
>> Leaving the int-Filter away makes no difference.
>>
>> I guess this must be rather trivial, as this should be a common use case. 
>> But I don't find the solution myself, so please push me in the right 
>> direction.
>>
>> TIA,
>> Oliver
>>
>> ansible: 1.6.1
>>
>> -- 
>> 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 ansible-proje...@googlegroups.com <javascript:>.
>> To post to this group, send email to ansible...@googlegroups.com<javascript:>
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/6562f8f7-067f-4b68-b266-36ddb4174c1b%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/6562f8f7-067f-4b68-b266-36ddb4174c1b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d84bb0e0-2ee7-4a09-9e0e-96b551e6e374%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to