Open deepakramanath opened 1 year ago
Adding to the above bug report, the official documentation, vmware-guest-module, says, the following for is_template
parameter
Flag the instance as a template.
This will mark the given virtual machine as template.
Note, this may need to be done in a dedicated task invocation that is not making any other changes. For example, user cannot change the state from powered-on to powered-off AND save as template in the same task.
See [community.vmware.vmware_guest](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_module.html#ansible-collections-community-vmware-vmware-guest-module) source for more details.
Choices:
false ← (default)
true
# /usr/lib/python3.9/site-packages/ansible_collections Collection Version --------------------- ------------- community.general 5.5.0
I think the issue / bug report template says something like:
Paste verbatim output from "ansible-galaxy collection list <namespace>.<collection>" between the quotes
for example: ansible-galaxy collection list community.general
The template is used by several collections / repositories, so there's just an example. Since this is the community.vmware
collection, it would be much more important to know this version; the community.general
version isn't really helpful here ;-)
Sorry. I have modified the original bug report to include the correct community.vmware module version
Facing the same problem, cannot turn a vm into a template.
SUMMARY
Up until Ansible 2.9.x version, the module vmware_guest could be used to set network properties on a VM deployed using an live ISO file and subsequently use the same module to convert to a vmware template. While the parameters have not changed in the recent Ansible, the module does not work as intended. This is such an inconvenient thing to happen provided the module parameters are still supported.
ISSUE TYPE
Bug Report
COMPONENT NAME
community.vmware.vmware_guest
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
I expect the module to work, particularly the customisation part and the conversion of VM to a template.
ACTUAL RESULTS