You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--- HINT: You can paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
excepted result its should not remove the vm and just dry run the steps but unfortunately with option --check it is removing the vm in vcenter not performing dry run.
##### ACTUAL RESULTS
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->
<!--- Paste verbatim command output between quotes -->
```paste below
The text was updated successfully, but these errors were encountered:
SUMMARY
ISSUE TYPE
COMPONENT NAME
vmware.vmware_rest.vcenter_vm:
ANSIBLE VERSION
COLLECTION VERSION
`# /home/deep/.ansible/collections/ansible_collections
Collection Version
vmware.vmware_rest 2.3.1
OS / ENVIRONMENT
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
STEPS TO REPRODUCE
Try to dry run the playbook delvm.yml
ansible-playbook delvm.yml --check -i inventory --limit test-host
--
name: Delete VM
hosts: all
gather_facts: false
become: false
tasks:
Lookup VM ID from the vm name
Collect VM ID from the vm name
@title Delete VM
@comment This task deletes the VM from the vcenter
The text was updated successfully, but these errors were encountered: