Thank you to everyone who’s provided feedback and comments on the Ansible ONTAP modules we released this past May. Your input has helped us with everything from bugs and fixes to ideas for new enhancements and new functionality.
We have been listening to your feedback and our new releases incorporate many of your suggestions along with additional modules.
In addition to the ONTAP modules already available, we are excited to publish eighteen (18!) new and updated modules for Element software. Element software is the OS that drives our SolidFire and HCI solutions. These new Element software modules are:
In addition to Day 0/1 requirements, there has been a strong focus on also handling the majority of Day 2+ tasks. This will allow Element software and Ansible to move towards Infrastructure-as-Code, and Automation coverage for Element software from Ansible.
These modules are currently available from our NetApp GitHub site at https://github.com/netapp/ansible.
Documentation for these modules can be found here: http://netapp-ansible.readthedocs.io/en/latest/
To add these modules, follow these instructions:
git clone https://github.com/NetApp/ansible.git
Your output might differ but it will look something like this:
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609]
The line that starts with “ansible python module location” shows you where your local modules are so replace your path if different for the export command Shell
cp -aRv lib/ansible/module_utils/netapp* $ANSIBLE_PATH/module_utils/
cp -aRv lib/ansible/modules/storage/netapp/* $ANSIBLE_PATH/modules/storage/netapp/