Hi I'm trying to configure primary and secondary DNS with the netapp_e_mgmt_interface module.
My Playbook is as follows:
- name: Configure DNS interfaces 1 for controller A
netapp_e_mgmt_interface:
api_url: "{{ api_url }}"
api_username: "{{ api_username }}"
api_password: "{{ api_password }}"
ssid: "1"
validate_certs: no
controller: "A"
name: "1"
dns_config_method: static
dns_address: "{{ site_local_dns_primary }}"
dns_address_backup: "{{ site_local_dns_primary }}"
However I'm getting the error "We could not find an interface matching [1] on Array=[1]."
I've tried using the loops as in the example but don't appear to be getting anywhere. Can anyone help