General FreeBSD and account improvements.

This commit is contained in:
2021-02-03 21:17:48 -06:00
parent 95024e6400
commit 86e1881090
11 changed files with 53 additions and 32 deletions

View File

@ -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"

View File

@ -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 != ""