Looked like it may work if I use the right parameter.

This commit is contained in:
Hyperling 2021-02-15 15:36:03 -06:00
parent 93450e54cd
commit e519d817ab

View File

@ -8,12 +8,12 @@
- name: Miner | Facts | Config File | Load XMR
set_fact:
wallet_xmr: "{{ lookup('ini', 'section=xmr, file={{wallet_file_local}}') }}"
wallet_xmr: "{{ lookup('ini', '_terms=xmr, file={{wallet_file_local}}') }}"
when: wallet_file_local is file
- name: Miner | Facts | Config File | Load ETH
set_fact:
wallet_eth: "{{ lookup('ini', 'section=eth, file=wallet_file_local') }}"
wallet_eth: "{{ lookup('ini', '_terms=eth, file={{wallet_file_local}}') }}"
when: wallet_file_local is file