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

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.

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.