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:28:16 -06:00
|
|
|
wallet_xmr: "{{ lookup('ini', 'section=xmr, file=wallet_file_local') }}"
|
2021-02-15 15:19:11 -06:00
|
|
|
|
|
|
|
- name: Miner | Facts | Config File | Load ETH
|
|
|
|
set_fact:
|
2021-02-15 15:28:16 -06:00
|
|
|
wallet_eth: "{{ lookup('ini', 'section=eth, file=wallet_file_local') }}"
|
2021-02-15 15:19:11 -06:00
|
|
|
|
|
|
|
|
|
|
|
## Verify ##
|
|
|
|
|
|
|
|
- name: Miner | Facts | Config File | Load ETH
|
|
|
|
debug:
|
|
|
|
var: "{{ item }}"
|
|
|
|
loop:
|
|
|
|
- wallet_xmr
|
|
|
|
- wallet_eth
|