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