Try null section.
This commit is contained in:
parent
6f0e07b0ca
commit
1ebf325b03
@ -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', 'xmr, file={{wallet_file_local}}') }}"
|
wallet_xmr: "{{ lookup('ini', 'xmr, section=null, 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', 'eth, file={{wallet_file_local}}') }}"
|
wallet_eth: "{{ lookup('ini', 'eth, section=null, 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