Hi Team:
I’m trying to get a list variable with mount points from Ansible facts. But, I’m getting the whole “ansible_mounts” facts in JSON format. I have difficult time to retrieve only mount points in list format.
Like below.
mount_points = [‘/’, ‘/boot’, ‘home’, ‘/usr’, ‘/var’, ‘/tmp’]
Please help.
Thanks,
Shibhi