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

@ -1,10 +1,11 @@
---
# Jobs relating to the ansible user.
- name: General | Cron | Ansible | Create Main Job
- name: General | Cron | Ansible | Create Subscriber Job
cron:
user: ansible
name: "Ansible Sync"
minute: "*/15"
job: "{{ ansible_pull_exec }} -o -U https://github.com/Hyperling/ansible.git"
job: "sudo {{ ansible_pull_exec }} -o -U https://github.com/Hyperling/ansible.git"
state: present
disabled: no

View File

@ -0,0 +1,12 @@
---
# Jobs relating to the root user.
- 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"