Use all flags to make sure nothing crazy tries to get done.
This commit is contained in:
parent
6165d1ba54
commit
b9c062e147
@ -74,18 +74,21 @@
|
||||
- include: tasks/miner/acct_mgmt/mfn.yml
|
||||
|
||||
tasks:
|
||||
### CPU SECTION ###
|
||||
# Monero
|
||||
- include: tasks/miner/cpu/xmr.yml
|
||||
become_user: mfn
|
||||
when: xmr is defined
|
||||
when: cpu is defined and xmr is defined
|
||||
|
||||
# Ethereum
|
||||
### GPU Section ###
|
||||
## Drivers ##
|
||||
- include: tasks/miner/drivers/amdgpu.yml
|
||||
when: ansible_distribution == "Ubuntu" and amdgpu is defined
|
||||
|
||||
# Ethereum
|
||||
- include: tasks/miner/gpu/ethminer.yml
|
||||
become_user: mfn
|
||||
when: eth is defined
|
||||
when: (amdgpu is defined or nvidia is defined) and eth is defined
|
||||
|
||||
post_tasks:
|
||||
- include: tasks/miner/cron/ansible.yml
|
||||
|
Loading…
x
Reference in New Issue
Block a user