Hi guys,
I have a playbook where I'm using the na_ontap_interface module in a lab. I can create a broadcast-domain-wide or local-only LIF in the default (cluster) SVM. I can also set the LIF state up or down, but I've not been able to get the playbook to delete the LIF. Any ideas what the issue might be?
Here's the environment:
ansible [core 2.13.1]
netapp-lib 2021.6.25
python version = 3.9.13
ONTAP 9.10.1 sim
The section of the runbook that doesn't work is as follows. No error is given, it just silently fails - as far as I can tell, even with -vvv output.
- name: Delete LIF
na_ontap_interface:
state: absent
interface_name: "{{ cluster }}-01_mgmt_auto"
vserver: "{{ cluster }}"
hostname: "{{ cluster_mgmt }}"
<<: *login
Runbook and input yaml files attached.