Try to do variables in a different way. No idea if it will work.
This commit is contained in:
@ -82,19 +82,19 @@
|
||||
### CPU SECTION ###
|
||||
# Monero #
|
||||
- include: tasks/miner/software/xmr-stak-cpu.yml
|
||||
when: xmr_stak_cpu is defined
|
||||
when: "xmr_stak_cpu" in miner
|
||||
|
||||
### GPU Section ###
|
||||
## Drivers ##
|
||||
- include: tasks/miner/drivers/amdgpu.yml
|
||||
when: ansible_distribution == "Ubuntu" and amdgpu is defined
|
||||
when: ansible_distribution == "Ubuntu" and "amdgpu" in driver
|
||||
|
||||
# Ethereum #
|
||||
- include: tasks/miner/software/ethminer.yml
|
||||
when: ethminer is defined
|
||||
when: "ethminer" in miner
|
||||
|
||||
- include: tasks/miner/software/ethminer.yml
|
||||
when: nanominer is defined
|
||||
when: "nanominer" in miner
|
||||
|
||||
# Scheduling
|
||||
post_tasks:
|
||||
|
Reference in New Issue
Block a user