"Fix" SSHFS for FreeBSD.
This commit is contained in:
parent
03c617e771
commit
0d09ef4963
@ -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
|
||||
|
@ -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"
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
## SSHFS ##
|
||||
|
||||
- name: General | Software | Services | Enable SSHD (Linux?)
|
||||
- name: General | Software | Services | Enable SSHFS (FreeBSD)
|
||||
service:
|
||||
name: fusefs
|
||||
pattern: fusefs
|
||||
|
Loading…
x
Reference in New Issue
Block a user