Hi team,
When working with multiple configuration tasks involving dp_destination type versers, if one of the task fails and if try rerunning the config again after fixing the issue, playbook fails while it tries to rerun the vserver create for vserver(s) of type dp_destination.
failed: [localhost] (item={'state': 'present', 'cluster': '10.216.2.57', 'name': 'axasvm01_dr', 'subtype': 'dp_destination'}) => {"ansible_loop_var": "svm", "changed": false, "msg": "Error modifying SVM axasvm01_dr: cannot modify subtype - current: default - desired: dp_destination.", "svm": {"cluster": "10.216.2.57", "name": "axasvm01_dr", "state": "present", "subtype": "dp_destination"}}
I think this is happening because na_ontap_svm is trying to issue a PATCH call against the vserver as it already exists, but PATCH call can't be run for vserver(s) of type dp_destination.
This is impacting idempotancy for our ansible playbooks. So we need either removing vserver creation option or delete the vserver and rerun the config.
Could we please add a status ok and skip the vserver creation job is the vserver type is dp_destination and it already exists?