Add section specifier.

This commit is contained in:
Hyperling 2021-02-15 15:38:42 -06:00
parent e519d817ab
commit 51e39cfc94

View File

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