env-ansible/tasks/miner/cron/ansible.yml

25 lines
552 B
YAML
Raw Normal View History

---
# 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 ##
2021-03-05 17:57:05 -06:00
- name: Miner | Account Management | Cron | Ansible | Daily Security Update [apt]
cron:
user: ansible
name: Daily Security Update
2021-03-05 17:52:50 -06:00
job: sudo apt update && sudo apt dist-upgrade -y
special_time: reboot
state: present
2021-03-05 17:57:05 -06:00
disabled: no