"Fix" SSHFS for FreeBSD.

This commit is contained in:
Hyperling 2021-07-13 19:09:45 -05:00
parent 03c617e771
commit 0d09ef4963
3 changed files with 7 additions and 2 deletions

View File

@ -8,6 +8,11 @@
state: directory
mode: '0755'
- name: General | Account Management | Mounts | Enable SSHFS (FreeBSD)
shell: "kldload fusefs"
ignore_errors: yes
when: ansible_system == "FreeBSD"
- name: General | Account Management | Mounts | Test SSHFS
shell: "sshfs {{ leet_ssh }}: /mnt/test -o allow_other"
register: sshfs_test

View File

@ -6,7 +6,7 @@
user: root
name: "1337 SSHFS"
special_time: reboot
job: "{{ sshfs_leet_cmd }}"
job: "kldload fusefs && {{ sshfs_leet_cmd }}"
state: absent
disabled: no
when: ansible_system == "FreeBSD"

View File

@ -13,7 +13,7 @@
## SSHFS ##
- name: General | Software | Services | Enable SSHD (Linux?)
- name: General | Software | Services | Enable SSHFS (FreeBSD)
service:
name: fusefs
pattern: fusefs