Hi,
I've posted a couple of times before trying netapp.ontap v21.xx to v22.xx getting the notorious "KeyError: 'volume'"
I'm running this code to delete snapshots.
--- play ---
- name: delete SnapShot
netapp.ontap.na_ontap_snapshot:
https: true
validate_certs: false
state: absent
snapshot: "MegaAccDB_Snap.*"
volume: "db_mega_acc"
vserver: "my-svm"
username: '{{ lookup("env", "ANSIBLE_NET_USERNAME") }}'
password: '{{ lookup("env", "ANSIBLE_NET_PASSWORD") }}'
hostname: mystorage.com
--- end ---
Yesterday I upgraded to 22.3.0 and this problem is now gone but another culprit is causing it to fail. Please view the attached file.
Any hints are greatly appreciated! thank you.