From 147eee7b26c8109d5c245768127a50b308857a52 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 13 Feb 2021 06:04:28 -0600 Subject: [PATCH] Use a loop. --- tasks/miner/debug.yml | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/tasks/miner/debug.yml b/tasks/miner/debug.yml index dbdaee6..49a00b5 100644 --- a/tasks/miner/debug.yml +++ b/tasks/miner/debug.yml @@ -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 \ No newline at end of file + var: "{{ item }}" + loop: + - xmr + - eth + - cpu + - gpu + - amdgpu + - nvidia \ No newline at end of file