ibm-mas / ansible-devops

Ansible collection supporting devops for IBM Maximo Application Suite
https://ibm-mas.github.io/ansible-devops/
Eclipse Public License 2.0
47 stars 79 forks source link

[patch] Fix UDS uninstall handling UDS never installed before #1354

Closed durera closed 1 week ago

durera commented 1 week ago

When performing a MAS uninstall we will try to ensure that both UDS & DRO are removed from the cluster, in the case where UDS has never been previously installed the uninstall will fail because the CRDs are not even registered, so although it already handles "is not currently installed", it can not handle "it has never been installed, ever":

TASK [ibm.mas_devops.uds : uninstall : Delete the GenerateKey] *****************
fatal: [localhost]: FAILED! => changed=false 
  msg: Failed to find exact match for uds.ibm.com/v1.GenerateKey by [kind, name, singularName, shortNames]