# smart Quata with thresholds details Error While using AP

**URL:** <https://forum.ansible.com/t/smart-quata-with-thresholds-details-error-while-using-ap/37844>\
**Category:** Ansible Project\
**Created:** [April 3, 2023, 10:09am UTC](https://forum.ansible.com/t/smart-quata-with-thresholds-details-error-while-using-ap/37844 "2023-04-03T10:09:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![utoddl](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/utoddl/32/249_2.png) [@utoddl](https://forum.ansible.com/u/utoddl)\
**Post date:** [April 3, 2023, 10:09am UTC](https://forum.ansible.com/t/smart-quata-with-thresholds-details-error-while-using-ap/37844/1 "2023-04-03T10:09:55Z")

</div>

Mustaches don’t nest. Instead of  
body: “{{ lookup(‘ansible.builtin.file’, ‘{{ role\_path }}/files/quota\_details.json’) }}”  
use this:  
body: “{{ lookup(‘ansible.builtin.file’, role\_path ~ ‘/files/quota\_details.json’) }}”

---

<div class="post-metadata">

**Author:** ![javed\_khan\_siddque](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/javed_khan_siddque/32/4964_2.png) [@javed\_khan\_siddque](https://forum.ansible.com/u/javed_khan_siddque)\
**Post date:** [April 3, 2023, 2:04pm UTC](https://forum.ansible.com/t/smart-quata-with-thresholds-details-error-while-using-ap/37844/2 "2023-04-03T14:04:41Z")

</div>

Thanks Todd,

i noticed  
body: “{{ lookup(‘ansible.builtin.file’, ‘{{ role\_path }}/files/quota\_details.json’) }}” is working perfectly.

However it is looking for pre-exist path “/ifs/myserver/MA” which is not exist .  
it has to be created before running to module using " dellemc.powerscale.filesystem"

**- name: Create Filesystem in default (system) access zone, without Quota**  
**dellemc.powerscale.filesystem:**  
**onefs\_host: “{{ isilon\_ip\_address\_p }}”**  
**port\_no: “8080”**  
**verify\_ssl: false**  
**api\_user: “{{ isilon\_api\_user }}”**  
**api\_password: “{{ isilon\_api\_password }}”**  
**path: “/ifs/myserver/MA”**  
**owner:**  
**name: ‘root’**  
**provider\_type: ‘ldap’**  
**state: “present”**

“msg”: "Failed to get the owner id for root in zone System and provider ldap due to error { errors : [{ code : AEC\_BAD\_REQUEST , message : Error during lookup of user ‘USER:root’: The authentication provider is invalid }] } "  
}
