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
Describe the bug
Using the nutanix.ncp.ntnx_vms module in a play with state: absent should not remove VMs from prism when run in check mode. Today, the module will delete the VMs regardless of whether the --check flag is passed at run time.
This behavior can lead to unintended deletion of VMs during testing.
ansible-playbook decom.yml --check results in VMs being removed.
Expected behavior
Output in the terminal should indicate which VMs would be removed as part of the play, and the VMs should remain in the same state as before the play was run.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using the
nutanix.ncp.ntnx_vms
module in a play withstate: absent
should not remove VMs from prism when run incheck
mode. Today, the module will delete the VMs regardless of whether the--check
flag is passed at run time.This behavior can lead to unintended deletion of VMs during testing.
To Reproduce
sample playbook:
ansible-playbook decom.yml --check
results in VMs being removed.Expected behavior
Output in the terminal should indicate which VMs would be removed as part of the play, and the VMs should remain in the same state as before the play was run.
The text was updated successfully, but these errors were encountered: