2021-02-15 15:19:11 -06:00
|
|
|
---
|
|
|
|
# Load receiver addresses
|
|
|
|
|
|
|
|
## Load Config ##
|
|
|
|
|
|
|
|
- name: Miner | Facts | Config File | Download
|
2021-02-15 15:25:11 -06:00
|
|
|
shell: "scp {{ wallet_server }}:{{ wallet_file_remote }} {{ wallet_file_local }}; chmod 600 {{ wallet_file_local }}"
|
2021-02-15 15:19:11 -06:00
|
|
|
|
|
|
|
- name: Miner | Facts | Config File | Load XMR
|
|
|
|
set_fact:
|
2021-02-15 15:43:34 -06:00
|
|
|
wallet_xmr: "{{ lookup('ini', 'xmr, section={{wallet_section}}, file={{wallet_file_local}}') }}"
|
2021-02-15 15:33:26 -06:00
|
|
|
when: wallet_file_local is file
|
2021-02-15 15:19:11 -06:00
|
|
|
|
|
|
|
- name: Miner | Facts | Config File | Load ETH
|
|
|
|
set_fact:
|
2021-02-15 15:43:34 -06:00
|
|
|
wallet_eth: "{{ lookup('ini', 'eth, section={{wallet_section}}, file={{wallet_file_local}}') }}"
|
2021-02-15 15:33:26 -06:00
|
|
|
when: wallet_file_local is file
|
2021-02-15 15:19:11 -06:00
|
|
|
|
|
|
|
|
|
|
|
## Verify ##
|
|
|
|
|
|
|
|
- name: Miner | Facts | Config File | Load ETH
|
|
|
|
debug:
|
|
|
|
var: "{{ item }}"
|
|
|
|
loop:
|
|
|
|
- wallet_xmr
|
|
|
|
- wallet_eth
|