Do internal expressions work?
This commit is contained in:
parent
20ea4fd334
commit
93450e54cd
@ -8,11 +8,13 @@
|
|||||||
|
|
||||||
- name: Miner | Facts | Config File | Load XMR
|
- name: Miner | Facts | Config File | Load XMR
|
||||||
set_fact:
|
set_fact:
|
||||||
wallet_xmr: "{{ lookup('ini', 'section=xmr, file=wallet_file_local') }}"
|
wallet_xmr: "{{ lookup('ini', 'section=xmr, file={{wallet_file_local}}') }}"
|
||||||
|
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', 'section=eth, file=wallet_file_local') }}"
|
wallet_eth: "{{ lookup('ini', 'section=eth, file=wallet_file_local') }}"
|
||||||
|
when: wallet_file_local is file
|
||||||
|
|
||||||
|
|
||||||
## Verify ##
|
## Verify ##
|
||||||
|
Loading…
x
Reference in New Issue
Block a user