env-ansible/tasks/miner/cron/ansible.yml
2021-02-17 05:14:12 -06:00

25 lines
529 B
YAML

---
# System tasks for mining machines.
## Performance ##
- name: Miner | Account Management | Cron | Ansible | Daily Performance Reboot
cron:
user: ansible
name: Daily Performance Reboot
job: reboot
special_time: daily
state: present
disabled: no
## Security ##
- name: Miner | Account Management | Cron | Ansible | Daily Security Update
cron:
user: ansible
name: Daily Security Update
job: apt update; apt dist-upgrade -y
special_time: reboot
state: present
disabled: no