Use a loop.
This commit is contained in:
parent
656461169a
commit
147eee7b26
@ -1,26 +1,13 @@
|
||||
---
|
||||
# Print out all inventory flags associated to mining.
|
||||
|
||||
- name: DEBUG | Coin Type | xmr
|
||||
- name: Miner | DEBUG | Inventory Variables
|
||||
debug:
|
||||
var: xmr
|
||||
|
||||
- name: DEBUG | Coin Type | eth
|
||||
debug:
|
||||
var: eth
|
||||
|
||||
- name: DEBUG | System Type | cpu
|
||||
debug:
|
||||
var: cpu
|
||||
|
||||
- name: DEBUG | System Type | gpu
|
||||
debug:
|
||||
var: gpu
|
||||
|
||||
- name: DEBUG | System Type | amdgpu
|
||||
debug:
|
||||
var: amdgpu
|
||||
|
||||
- name: DEBUG | System Type | nvidia
|
||||
debug:
|
||||
var: nvidia
|
||||
var: "{{ item }}"
|
||||
loop:
|
||||
- xmr
|
||||
- eth
|
||||
- cpu
|
||||
- gpu
|
||||
- amdgpu
|
||||
- nvidia
|
Loading…
x
Reference in New Issue
Block a user