Add section specifier.
This commit is contained in:
parent
e519d817ab
commit
51e39cfc94
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user