Hello everyone, i was using ansible 2.10.3, and all was working as well.
I've tried to upgrade my project to ansible 4.10.0, but i'm facing this
issue.
I have the fallowing message:
{
"msg": "Unsupported parameters for (vmware_guest) module: disk.lvnames,
disk.vgname. Supported parameters include: state, linked_clone,
resource_pool, cdrom, customization, wait_for_customization, datacenter,
convert, guest_id, is_template, snapshot_src, wait_for_ip_address, nvdimm,
customvalues, esxi_hostname, port, use_instance_uuid,
delete_from_inventory, password (pass, pwd), networks, template
(template_src), advanced_settings, datastore, name_match,
wait_for_ip_address_timeout, proxy_host, validate_certs, cluster, hardware,
wait_for_customization_timeout, username (admin, user),
state_change_timeout, proxy_port, vapp_properties, name, disk, annotation
(notes), customization_spec, uuid, force, folder, hostname.",
"invocation": {
"module_args": {
"hostname": "***",
"username": "****",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"datacenter": "***",
"cluster": "***",
"resource_pool": "*** ",
"validate_certs": true,
"uuid": "none",
"folder": " *** ",
"name": " *** ",
"guest_id": "***",
"disk": [
{
"datastore": " *** ",
"size_gb": 20,
"type": "thick",
"autoselect_datastore": null,
"controller_number": null,
"controller_type": null,
"disk_mode": null,
"filename": null,
"size": null,
"size_kb": null,
"size_mb": null,
"size_tb": null,
"unit_number": null
},
{
"datastore": " *** ",
"lvnames": [],
"size_gb": 30,
"type": "thick",
"vgname": "data_vg",
"autoselect_datastore": null,
"controller_number": null,
"controller_type": null,
"disk_mode": null,
"filename": null,
"size": null,
"size_kb": null,
"size_mb": null,
"size_tb": null,
"unit_number": null
}
],
"cdrom": {
"type": "iso",
....
}
This extra params (lvnames et vgname) are used by another role on my
collection.
is there a way (simple or not) to achieve this?
Thanks for your help.
Cheers
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/92b7fda6-d9e4-499c-b345-88ab559ab555n%40googlegroups.com.