-
ansible makes ssh connection instead of zapi/rest
I created a playbook to do shelf firmware updates, but it keeps failing and says the host is unreachable. But the debug output clearly shows that it connected to the ONTAP cluster via ssh and then tried to run a bourne shell instead of using a zapi or rest call: <72.32.19.224> ESTABLISH SSH CONNECTION FOR USER: myuser…
-
REST API "User is not authorized."
Hi, I try to connect via HTTP as part of this Ansible task: - name: Get LUNs netapp.ontap.na_ontap_rest_info: hostname: '{{ ontap_host }}' cert_filepath: '{{ ontap_crt }}' key_filepath: '{{ ontap_key }}' gather_subset: - 'storage/luns' fields: - 'comment' https: True validate_certs: False register: lun_info but receive:…
-
Ansible ONTAP LIF delete not working
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…
-
Coffee breaks with REST - Episode #6: 5 magical features that make ONTAP storage automation simple!
The previous blog post in this series looked at how private CLI passthrough can be leveraged in NetApp® ONTAP® REST. This post looks at 5 magical features that make your storage infrastructure automation so simple. Magic 1: API call logs from System Manager ONTAP System Manager displays the series of REST API calls made in…
-
SnapCentre and Ansible
Any plans to create Ansible modules for SnapCentre?
-
OnTap granular debugging of role access
I'm building an automation suite to handle some of the day to day for our storage administrators. In doing so I want to grant the service user the least privilege necessary to achieve the desired outcome. Since updating my Ansible machine to the current dev release even na_ontap_gather_facts doesn't work without some sort…
-
snapmirror show
Hi, I just started to setup ansible for netapp snapmirror automation. My ansible version is 2.7.5, Python is 2.7 and netapp is 9.6. I am currently translating all the snapmirror raw command in current bash script into ansible na_ontap_snapmirror module call. For example: "snapmirror show -fields…