Is there a canonical way to use Ansible to see if a file system on a remote host is mounted? Ansible's mount module doesn't seem to address this need. I'm trying to do it as follows but I get an error:--- name: check if file system mounted
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/162ed205-cc44-4c41-8606-47a6c749a896%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The setup module that normally runs at the start of the play will return mounts of a system in `ansible_mounts` (if I remember the var name correctly)You can use this var to look.