Hello everyone,
We were able to automate the creation and removal processes of CIFS shares with Ansible, but we are facing some issue with the removal of the qtree.
Here are the steps we were able to do:
- Delete quota with the "na_ontap_quotas" module
- Delete share with the "na_ontap_cifs" module
- And here is the step where we are facing the issue
When we run the task to delete the qtree we get the following error
I've opened a ticket to netapp and they asked me this:
- can you change the security style it and try to delete it again?
- If I change it to unix on the web console, yes I'm able to delete the qtree with Ansible. I'm not able to change the security style with Ansible.
- can you try to rename it and delete it afterwards ?
- I get the same error, when I try to rename it with Ansible.
After that they asked me to open this discussion.
Has someone been able to delete ntfs qtrees with Ansible. Any idea on how to solve this issue.
Thanks in advance for your help!
Best regards,
David