I am trying to use this module "netapp.ontap.na_ontap_quotas" under collections "netapp.ontap". But getting an error while executing the playbook.
Below is the error I get.
FAILED! => {"changed": false, "msg": "Error: the python NetApp-Lib module is required. Import error: No module named 'netapp_lib'"}
Below is the playbook that I am using.
-
hosts: exec-node
collections:- netapp.ontap
tasks:
- name: quota creation
netapp.ontap.na_ontap_quotas:
hostname: "nas.xyz.com"
username: "admin"
password: "admin"
state: present
vserver: "testsvm"
volume: "yz75"
quota_target: "yz75"
type: tree
disk_limit: 9
set_quota_status: True
I have been able to create a volume yz75 and qtree using other modules in netapp ansible. But while using the subjected module for creation of quota. Its getting failed.
Someone please try and help fix this issue.