Migrate cron to FQCN.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
## Performance ##
|
||||
|
||||
- name: Miner | Account Management | Cron | Ansible | Daily Performance Reboot
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
user: ansible
|
||||
name: Daily Performance Reboot
|
||||
job: sudo reboot
|
||||
@@ -16,7 +16,7 @@
|
||||
## Security ##
|
||||
|
||||
- name: Miner | Account Management | Cron | Ansible | Daily Security Update [apt]
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
user: ansible
|
||||
name: Daily Security Update
|
||||
job: sudo apt update && sudo apt dist-upgrade -y
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
## Mining ##
|
||||
|
||||
- name: Miner | Account Management | Cron | MFN | Stop Jobs
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
user: mfn
|
||||
name: "Stop {{ item.name }}"
|
||||
minute: "*/5"
|
||||
@@ -14,7 +14,7 @@
|
||||
loop: "{{ miners }}"
|
||||
|
||||
- name: Miner | Account Management | Cron | MFN | Start Jobs
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
user: mfn
|
||||
name: "Start {{ item.name }}"
|
||||
job: "{{ item.command }}"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
backup: true
|
||||
|
||||
- name: Miner | Driver | AMDGPU | Remove Previous Run's Cron Job
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
user: root
|
||||
name: "{{ amdgpu_cron_job }}"
|
||||
state: absent
|
||||
@@ -90,7 +90,7 @@
|
||||
when: amdgpu_install.failed and hwe_kernel.stdout != "0" and ga_kernel.failed
|
||||
|
||||
- name: Miner | Driver | AMDGPU | Prepare Cron Job To SCM
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
user: root
|
||||
name: "{{ amdgpu_cron_job }}"
|
||||
special_time: reboot
|
||||
@@ -139,7 +139,7 @@
|
||||
when: amdgpu_install.failed and hwe_kernel.stdout != "0"
|
||||
|
||||
- name: Miner | Driver | AMDGPU | Prepare Cron Job To SCM
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
user: root
|
||||
name: "{{ amdgpu_cron_job }}"
|
||||
special_time: reboot
|
||||
@@ -178,7 +178,7 @@
|
||||
when: amdgpu_install.failed or "1" == "1"
|
||||
|
||||
- name: Miner | Driver | AMDGPU | Prepare Cron Job To SCM
|
||||
cron:
|
||||
ansible.builtin.cron:
|
||||
user: root
|
||||
name: "{{ amdgpu_cron_job }}"
|
||||
special_time: reboot
|
||||
|
||||
Reference in New Issue
Block a user