2021-02-11 08:05:34 -06:00
|
|
|
---
|
2021-02-17 05:12:25 -06:00
|
|
|
# System tasks for mining machines.
|
2021-02-11 08:05:34 -06:00
|
|
|
|
2021-02-17 05:12:25 -06:00
|
|
|
## Performance ##
|
2021-02-15 11:09:34 -06:00
|
|
|
|
2021-02-17 05:12:25 -06:00
|
|
|
- name: Miner | Account Management | Cron | Ansible | Daily Performance Reboot
|
2021-02-15 11:09:34 -06:00
|
|
|
cron:
|
2021-02-17 05:12:25 -06:00
|
|
|
user: ansible
|
|
|
|
name: Daily Performance Reboot
|
2021-02-18 07:46:57 -06:00
|
|
|
job: sudo reboot
|
2021-02-17 05:12:25 -06:00
|
|
|
special_time: daily
|
2021-02-15 11:09:34 -06:00
|
|
|
state: present
|
2021-02-17 05:12:25 -06:00
|
|
|
disabled: no
|
2021-02-15 11:09:34 -06:00
|
|
|
|
|
|
|
|
2021-02-17 05:12:25 -06:00
|
|
|
## Security ##
|
|
|
|
|
2021-02-17 05:14:12 -06:00
|
|
|
- name: Miner | Account Management | Cron | Ansible | Daily Security Update
|
2021-02-15 11:09:34 -06:00
|
|
|
cron:
|
2021-02-17 05:12:25 -06:00
|
|
|
user: ansible
|
|
|
|
name: Daily Security Update
|
2021-02-17 05:18:44 -06:00
|
|
|
job: apt update && apt dist-upgrade -y
|
2021-02-17 05:12:25 -06:00
|
|
|
special_time: reboot
|
2021-02-15 11:09:34 -06:00
|
|
|
state: present
|
2021-02-17 05:18:44 -06:00
|
|
|
disabled: no
|
|
|
|
when: ansible_pkg_mgr == "apt"
|