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 [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/6562f8f7-067f-4b68-b266-36ddb4174c1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to