# Can you please assist me with a role where I wish to gather mount details of ansible client and then compare it with expected value provided by client

**URL:** <https://forum.ansible.com/t/can-you-please-assist-me-with-a-role-where-i-wish-to-gather-mount-details-of-ansible-client-and-then-compare-it-with-expected-value-provided-by-client/36191>\
**Category:** Ansible Project\
**Created:** [January 11, 2022, 5:52pm UTC](https://forum.ansible.com/t/can-you-please-assist-me-with-a-role-where-i-wish-to-gather-mount-details-of-ansible-client-and-then-compare-it-with-expected-value-provided-by-client/36191 "2022-01-11T17:52:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marian\_Saldhana](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@Marian\_Saldhana](https://forum.ansible.com/u/Marian_Saldhana)\
**Post date:** [January 11, 2022, 5:52pm UTC](https://forum.ansible.com/t/can-you-please-assist-me-with-a-role-where-i-wish-to-gather-mount-details-of-ansible-client-and-then-compare-it-with-expected-value-provided-by-client/36191/1 "2022-01-11T17:52:24Z")

</div>

Hi All,

I have a role to check the partition ( mount ) details of ansible client and then compare its value with the values provided by the customer, however the output of ansible\_mounts is too huge once I playbook executes the role and its can’t be compared with the values provided by the customer. Any advise or suggestion.

---

<div class="post-metadata">

**Author:** ![Antony\_Stone](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Antony\_Stone](https://forum.ansible.com/u/Antony_Stone)\
**Post date:** [January 11, 2022, 6:09pm UTC](https://forum.ansible.com/t/can-you-please-assist-me-with-a-role-where-i-wish-to-gather-mount-details-of-ansible-client-and-then-compare-it-with-expected-value-provided-by-client/36191/2 "2022-01-11T18:09:37Z")

</div>

What do you mean by "huge"?

Can you give an example of at least some of the output you get, and explain in  
what way it is too large?

I can only think of two ways in which the output is bigger than you  
want/expect:

1. More partitions are being reported than you expected

2. Each partition is reporting more detail than you expected

Which is the problem?

Antony.
