Software Development Kit (SDK) and API Discussions

Ansible newbie question

benpielaml

I see for every NetApp module, the parameters username and password exist.  If I am running my Ansible playbook from a linux box that has root passwordless ssh configured into the filers, do I need the password parameter?

4 REPLIES 4

benpielaml

Also, am I missing something in the na_ontap_volume module?  There is a parameter for percent_snapshot_space but not a parameter for the snapshot policy?

JohnChampion

All connections run as "localhost" and the Python modules handle the authentication to ONTAP through netapplib  - which is why every module has the user/password parameters. It doesn't use your locally logged in account for anything related to ONTAP.  

benpielaml

How do I download NetApp Python libraries without using pip?

gaurav_verma

I like to download using PIP but still you should get it here. 

 

https://github.com/ansible/ansible/tree/devel/lib/ansible/modules/storage/netapp

 

and they are latest. 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public