Hi Team ,

I am trying to create a smart Quata with thresholds details on isilon 
server , but got error

"msg": "Get Quota Details for ******** failed with { errors : [ { code : 
AEC_NOT_FOUND , message : Path not found '********' } ] } "

"path": "/ifs/myserver/MA",

when i checked with manually , i have "172.0.1.2:/ifs/myserver" already 
exist

===============================
main.yml
===============================

- name: "Create A Quota On 172.0.1.2 / myserver"
ansible.builtin.uri:
url: "https://172.0.1.2:8080/platform/1/quota/quotas";
user: "user"
password: "password"
method: POST
force_basic_auth: true
validate_certs: false
body_format: json
body: "{{ lookup('ansible.builtin.file', '{{ role_path 
}}/files/quota_details.json') }}"
status_code:
- 200
- 201
- 202
register: created_quota_details

 

 

 

================================================
{{ role_path }}/files/quota_details.json
================================================
{
"container": true,
"enforced": true,
"force": true,
"include_snapshots": false,
"path": "/ifs/myserver/MA",
"persona": null,
"thresholds": {
"advisory": 33500744908,
"hard": 41875931136,
"soft": 37688338022,
"soft_grace": 604800
},
"thresholds_include_overhead": true,
"type": "directory"
}

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ac62de21-68c1-4a7c-8712-40bd829383c3n%40googlegroups.com.

Reply via email to