--- - hosts: myrddin.prole.org become: true tasks: - name: Try to mount all filesystems ansible.builtin.command: mount -a - name: Check if required mount is present ansible.builtin.command: findmnt -n /opt/prole/logs/chrisfu register: mount_check failed_when: false - debug: var: mount_check.stdout