env-ansible/tasks/miner/cron/ansible.yml
2021-03-05 17:57:05 -06:00

25 lines
552 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: sudo reboot
special_time: daily
state: present
disabled: no
## Security ##
- name: Miner | Account Management | Cron | Ansible | Daily Security Update [apt]
cron:
user: ansible
name: Daily Security Update
job: sudo apt update && sudo apt dist-upgrade -y
special_time: reboot
state: present
disabled: no