General FreeBSD and account improvements.
This commit is contained in:
@ -32,4 +32,13 @@
|
||||
warn: false
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
# Add @reboot cron job for FreeBSD, fstab does not like fuse or sshfs as mount type
|
||||
# FreeBSD also has root cron job for this @reboot
|
||||
- name: General | Cron | Root | Create SSHFS Job
|
||||
cron:
|
||||
user: root
|
||||
name: "1337 SSHFS"
|
||||
special_time: reboot
|
||||
job: "{{ sshfs_leet_cmd }}"
|
||||
state: present
|
||||
disabled: no
|
||||
when: ansible_system == "FreeBSD"
|
@ -21,3 +21,11 @@
|
||||
create_home: yes
|
||||
generate_ssh_key: yes
|
||||
#password: "{{ ling_passwd }}"
|
||||
register: user_ling
|
||||
|
||||
- name: General | Account Management | User | Hyperling TRASH Folder
|
||||
file:
|
||||
path: "{{ user_ling.home }}/TRASH"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
when: user_ling.home != ""
|
Reference in New Issue
Block a user