Try null section.
This commit is contained in:
1 parent
6f0e07b0ca
commit
1ebf325b03
1 file changed
+2
-2
@@ -8,12 +8,12 @@
|
||||
|
||||
- name: Miner | Facts | Config File | Load XMR
|
||||
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
|
||||
|
||||
- name: Miner | Facts | Config File | Load ETH
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user