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. # 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