-
Notifications
You must be signed in to change notification settings - Fork 36
NetApp ONTAP Ansible Collection
Releasing, Versioning and Deprecation
- ansible version >= 2.9
- requests >= 2.20
- netapp-lib version >= 2018.11.13
- six
- when using ONTAP SnapMirror with ElementSW
- solidfire-sdk-python >= 1.5.0.87
ansible-galaxy collection install netapp.ontap
If you do not have connectivity to Galaxy in your production environment, you will need to:
- download a collection tarball in an environment with access to internet,
- move the tarball from the public environment to your private environment. The specifics depends on your company,
- use
galaxy collection install
with the tarball file in your private environment.
There are two ways to download the collection tarball:
- CLI:
galaxy collection download <collection_path>
- GUI: using the Ansible Galaxy web site, locate the collection of interest and click the
Download tarball
button.
ansible-galaxy collection download netapp.cloudmanager
Transfer file, then install it:
ansible-galaxy collection install collections/netapp-cloudmanager-21.3.0.tar.gz
If you see a certificate issue when accessing galaxy, you can update your certificate, or disable the security check (at your own risk!):
-c, --ignore-certs Ignore SSL certificate validation errors.
If a collection is already installed, use the --force
option to force an update if needed.
https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html
The collections that are certified are also available in Red Hat Automation Hub if you have a subscription.
https://github.com/ansible-collections/netapp.ontap
See https://docs.ansible.com/ansible/latest/collections/ for documentation.
The documentation generation may lag, in the meantime use ansible-doc for the latest updates. For instance:
ansible-doc netapp.ontap.na_ontap_svm
Join our Slack Channel at Netapp.io
Check automation blogs about Ansible, playbooks, Tower, AWX, and more at https://netapp.io/configuration-management-and-automation/
Need Help? Join Netapp.Io Discord Channel #ansible