"Fix" SSHFS for FreeBSD.
This commit is contained in:
parent
03c617e771
commit
0d09ef4963
@ -8,6 +8,11 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
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
|
- name: General | Account Management | Mounts | Test SSHFS
|
||||||
shell: "sshfs {{ leet_ssh }}: /mnt/test -o allow_other"
|
shell: "sshfs {{ leet_ssh }}: /mnt/test -o allow_other"
|
||||||
register: sshfs_test
|
register: sshfs_test
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
user: root
|
user: root
|
||||||
name: "1337 SSHFS"
|
name: "1337 SSHFS"
|
||||||
special_time: reboot
|
special_time: reboot
|
||||||
job: "{{ sshfs_leet_cmd }}"
|
job: "kldload fusefs && {{ sshfs_leet_cmd }}"
|
||||||
state: absent
|
state: absent
|
||||||
disabled: no
|
disabled: no
|
||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
## SSHFS ##
|
## SSHFS ##
|
||||||
|
|
||||||
- name: General | Software | Services | Enable SSHD (Linux?)
|
- name: General | Software | Services | Enable SSHFS (FreeBSD)
|
||||||
service:
|
service:
|
||||||
name: fusefs
|
name: fusefs
|
||||||
pattern: fusefs
|
pattern: fusefs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user