nutanix.ansible icon indicating copy to clipboard operation
nutanix.ansible copied to clipboard

[Imprv] add functionality <functionality_name> to module <module_name>

Open guntis-liepins opened this issue 1 year ago • 1 comments

Describe the request Enable dry run mode with --check

Current behaviour Currently it seems to ignore this flag and just proceeds with operations like deleting vms regardless of value of this flag.

Expected behaviour With --check flag module must follow ansible check mode default behaviour: https://docs.ansible.com/archive/ansible/2.3/playbooks_checkmode.html i.e. show that it will create or delete objects instead of creating them.

Rationale: In production enviroments most admins want to check playbook first to make sure variables, host groups, etc. is set correctly and then proceed with operation. It is very dangerous to run multi machine complex playbooks without checking it prior production run.

guntis-liepins avatar Feb 27 '23 13:02 guntis-liepins

Moving it from 1.9.1 -> 1.9.2 as it would need test additions in all integration tests.

bhati-pradeep avatar Oct 30 '23 19:10 bhati-pradeep