Use a loop.

This commit is contained in:
Hyperling 2021-02-13 06:04:28 -06:00
parent 656461169a
commit 147eee7b26

View File

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