Getting Started with NetApp and Ansible: Install Ansible

Automation and Configuration Management are indispensable to an efficient DevOps driven environment. NetApp has supported Ansible modules for ONTAP and Element software.  So, let’s get right to it and see how all this works.

Part 1. Install Ansible

If you don’t have Ansible already installed, getting it is very easy.  There are multiple ways to get Ansible, but I will be focusing on the PIP method.  PIP is a python package manager.  I am using CentOS 7.5 for my examples but with minor changes this will work for any distribution.

For CentOS the pip package is in the EPEL repository, so first I need to install that repo.

Once that is installed it’s a simple matter to add PIP.

Now that we have PIP installed we can add Ansible with a single line.

The last thing we need from PIP is some NetApp specific python modules.

That’s it, Ansible has had NetApp supported modules in the default distribution since release 2.6!

Join me next Getting Started, to learn how to update to the newest NetApp modules between Ansible releases.

If you have any questions or comments join me on our Slack workspace in the #configurationmgmt channel. Also keep an eye on for all new information on what we are doing around Ansible.

You can see a video demonstration of these steps here.

Part 1. Install Ansible
Part 2. Update NetApp Modules
Part 3. Understanding Playbooks
Part 4. First Playbook Example
Part 5. Complete Workflow

David Blackwell on Linkedin
David Blackwell
Technical Marketing Engineer for OpenStack at NetApp
David is a twenty year IT veteran who has been an admin for just about every aspect of a DataCenter at one time or another. Currently he is the Technical Marketing Engineer for OpenStack at NetApp. When not working, or tinkering with new software at home, David spends most of his free time on his hobby of 3D printing.

Leave a Reply