Try to do variables in a different way. No idea if it will work.

This commit is contained in:
2021-02-15 13:57:22 -06:00
parent 5a5b799c8a
commit d8c45fd477
5 changed files with 45 additions and 15 deletions

View File

@ -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: