ansible-collections / community.vmware

Ansible Collection for VMware
GNU General Public License v3.0
338 stars 332 forks source link

Snapshot names are getting converted when the name contains data and time #2083

Open Rakesh2904 opened 1 month ago

Rakesh2904 commented 1 month ago
SUMMARY

While using this module to gather the snapshot info, in cases where the snapshot name has date and time mentioned too the module is converting the date into unreadable format since I'm using this as a variable in the subsequent task to delete the snapshots

Ex: "name": "VM Snapshot 8%2f23%2f2023, 8:38:26 AM", the actual name is like this "VM Snapshot 11/2/2023, 10:31:24 AM'

ISSUE TYPE
COMPONENT NAME

This is how the module is being used

ANSIBLE VERSION
Ansible Automation Platform Controller 4.4.8 
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT

RHEL 8

STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
Rakesh2904 commented 1 month ago

Please note that the example given in the time is not from the same 2 VM's it's from 2 different guest VM's, the idea was to just give the example of the date is getting converted