Partition FreeBSD cron jobs. Add security update.
This commit is contained in:
parent
248855feda
commit
396f6cd711
@ -29,7 +29,9 @@
|
||||
- include: tasks/general/acct_mgmt/mounts.yml
|
||||
|
||||
- include: tasks/general/cron/ansible.yml
|
||||
- include: tasks/general/cron/root.yml
|
||||
|
||||
- include: tasks/freebsd/cron/ansible.yml
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
||||
# Additional setup for systems with GUI.
|
||||
|
20
tasks/freebsd/cron/ansible.yml
Normal file
20
tasks/freebsd/cron/ansible.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
# Cron jobs specific to FreeBSD
|
||||
|
||||
- name: FreeBSD | Cron | Ansible | Enable SSHFS Job
|
||||
cron:
|
||||
user: ansible
|
||||
name: "1337 SSHFS"
|
||||
special_time: reboot
|
||||
job: "sudo {{ sshfs_leet_cmd }}"
|
||||
state: present
|
||||
disabled: no
|
||||
|
||||
- name: FreeBSD | Cron | Ansible | Enable Security Update
|
||||
cron:
|
||||
user: ansible
|
||||
name: "Security Update"
|
||||
special_time: daily
|
||||
job: "sudo freebsd-update cron"
|
||||
state: present
|
||||
disabled: no
|
@ -19,16 +19,6 @@
|
||||
state: present
|
||||
disabled: no
|
||||
|
||||
- name: General | Cron | Ansible | Enable SSHFS Job (FreeBSD)
|
||||
cron:
|
||||
user: ansible
|
||||
name: "1337 SSHFS"
|
||||
special_time: reboot
|
||||
job: "sudo {{ sshfs_leet_cmd }}"
|
||||
state: present
|
||||
disabled: no
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
- name: General | Cron | Ansible | Enable Secure Copy Reports
|
||||
cron:
|
||||
user: ansible
|
||||
|
Loading…
x
Reference in New Issue
Block a user