nutanix / nutanix.ansible

Official Nutanix Ansible collections
GNU General Public License v3.0
67 stars 36 forks source link

[Imprv] add functionality for removal of all attached categories from Prism modules which support categories #215

Closed bhati-pradeep closed 2 years ago

bhati-pradeep commented 2 years ago

Describe the request Currently entities like VMs, Images, etc. supports attaching of categories to it. But there is no way we can remove all categories attached to the entity. Identify such entities and allow such behaviour.

Current behaviour Passing None or {} in categories gets skipped by module in update.

Expected behaviour It should allow making categories spec empty.