EF & E-Series, SANtricity, and Related Plug-ins
EF & E-Series, SANtricity, and Related Plug-ins
Hi I'm trying to configure primary and secondary DNS with the netapp_e_mgmt_interface module.
My Playbook is as follows:
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
Solved! See The Solution
Unfortunately the example is wrong. You need to either change the 'name' parameter to 'channel' or use the controller's interfaceName or alias. Sorry for the confusion.
Unfortunately the example is wrong. You need to either change the 'name' parameter to 'channel' or use the controller's interfaceName or alias. Sorry for the confusion.
Thanks for the reply, yes setting - channel: "1" seemed to fix the error.
I'm confused though why it's a requirement to select a channel or interface at all as in the GUI, DNS settings are at the controller, not the interface level.
Should I just configure DNS on channel 1 for each controller?
Yes, that will work. You'll only need to set the DNS settings for one interface. I understand the confusion but that's just the way the module was structured. The module was designed with the focus on the interface's state not the controller's.