Do test on a different folder. Prevents non-sshfs devices from even having /mnt/leet created.

This commit is contained in:
Hyperling 2021-02-07 12:53:10 -06:00
parent aae6d71f96
commit 2eb64ac9d2

View File

@ -1,8 +1,14 @@
--- ---
# Mount shares that all systems should have. # Mount shares that all systems should have.
- name: General | Account Management | Mounts | Create Test Folder
file:
path: "/mnt/test"
state: directory
mode: '0755'
- name: General | Account Management | Mounts | Test SSHFS - name: General | Account Management | Mounts | Test SSHFS
shell: "sshfs ling@leet: /mnt/leet -o allow_other,nonempty" shell: "sshfs {{ leet_ssh }}: /mnt/test -o allow_other,nonempty"
register: sshfs_test register: sshfs_test
ignore_errors: yes ignore_errors: yes