Hi,
I want to manage the netapp user quotas via ansible. I have tried the following.
- name: Add/Set quota rule for type user
netapp.ontap.na_ontap_quotas:
state: present
vserver: testsvm3
volume: test2
quota_target: "542,751"
type: user
disk_limit: 300MB
set_quota_status: True
At second run ansible complains. Is there a workaround for missing idempotency, as I want to run the code in a pileline ?
TASK [Add/Set quota rule for type user] ************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error on creating quotas rule: calling: storage/quota/rules: got {'message': 'duplicate entry', 'code': '1', 'target': 'uuid'}."}
Thanks in advance.
BR
Thomas