- hosts: exec-node
vars:
login: &login
hostname: "{{ host_name }}"
username: "{{ username }}"
password: "{{ password }}"
https: "{{ https_option }}"
validate_certs: "{{ validate_certs_option }}"
vars_files:- svmvariables.yml
- secretvars.yaml
tasks: - name: Create SVM
netapp.ontap.na_ontap_svm:
state: present
name: "{{ newsvmname }}"
root_volume: newsvmname_root
root_volume_aggregate: ABC_aggr1
root_volume_security_style: mixed
hostname: "{{ host_name }}"
username: "{{ username }}"
password: "{{ password }}"
While running getting error
TASK [Create SVM] *******************************************************************************************************************************************
fatal: [vmu0414]: FAILED! => {"changed": false, "msg": "Error: the python NetApp-Lib module is required. Import error: No module named 'netapp_lib'"}
PLAY RECAP **************************************************************************************************************************************************
vmu0414 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Please assist