Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.85 KB

File metadata and controls

55 lines (43 loc) · 1.85 KB

NetApp Ansible Playbooks

Date: 3-8-2019

Version: 1

Twitter: @systutorials

Description

Contained within this repository are NetApp Ansible playbooks

File Listing & Description

  1. combined/00_netapp_full_install.yml

    This playbook is part of my blog post:
    www.sysadmintutorials.com/how-to-automate-netapp-installations-with-ansible

    It will setup a NetApp cluster ready for VMware vSphere NFS datastores. It performs the following:

    - Set NTP
    - Set Timezone
    - Rename the Root Aggregate
    - Create and online a new Data Aggregate
    - Create a Vserver
    - Setup a VLAN
    - Creating a Broadcast Domain
    - Subnet Creation
    - Creating an NFS Lif
    - Start NFS
    - Create NFS Export Rule
    - Add DNS Settings to Vserver
    - Create first NFS Volume
    - Create an additional NFS Volume

Be sure to change the variables within the yml file to match your environment

To run this ansible playbook simply execute: ansible-playbook 00_netapp_full_install.yml

  1. multi-part/netapp_full_install_multi-part.yml
    multi-part/variables.yml
    multi-part/01_install_licenses_setup_ntp.yml
    multi-part/02_create_aggregate.yml
    multi-part/03_create_svm.yml
    multi-part/04_network_setup.yml
    multi-part/05_create_volume.yml
    multi-part/06_mount_nfs_datastore.yml

    This plabook is part of my second Ansible/NetApp/VMware blog post:
    https://www.sysadmintutorials.com/creating-multi-part-ansible-playbook-with-variables-netapp-vmware/

    These runbooks are an improvement on the one gigantic runbook created in step 1. above. Please head on over to the blog post to read what has changed.

    To run this ansible playbook simply execute: ansible-playbook netapp_full_install_multi-part.yml