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

26 lines
569 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-02-17 05:14:12 -06:00
- 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
when: ansible_pkg_mgr == "apt"