Up until now YAML aliases were the only way to avoid having to retype out all the connection lines for NetApp ONTAP modules, so a playbook looked something like this: --- - hosts: localhost collections: - netapp.ontap vars: login: &login hostname:...
There are sites that name all or most of their volumes with the same base name. (Share001, Share002, Share003 or Home001, Home002, Home003). A common question I get asked all the time is , "How to use Ansible to auto create the next X number of volumes in the list?” ...
If you haven’t been made aware, playbooks are now being published to https://www.github.com/netapp-automation/ansible for anyone to use. Most of the playbooks being posted are what I call lookups. Lookups use the na_ontap_info module to pull information about one or...
Sometimes it is useful to create a single playbook or role that does multiple steps, but not steps you want to run every time. You can use ‘tags’ to only include or exclude certain tasks in a playbook. To look at this concept I will use a playbook for creating...