Miner group can't see localhost facts, had to add variable for scp server.
This commit is contained in:
parent
7e9a363298
commit
3643cad3d9
8
facts/miner/system.yml
Normal file
8
facts/miner/system.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
# Define file, folder, and other facts per OS.
|
||||||
|
|
||||||
|
- name: Miner | Facts | System | Wallet Location
|
||||||
|
set_fact:
|
||||||
|
wallet_server: 'ling@leet'
|
||||||
|
wallet_file_remote: "InstallFiles/Miners/wallet.ini"
|
||||||
|
wallet_file_local: "{{ user_mfn.home }}/wallet.ini"
|
@ -1,18 +1,10 @@
|
|||||||
---
|
---
|
||||||
# Load receiver addresses
|
# Load receiver addresses
|
||||||
|
|
||||||
## Variables ##
|
|
||||||
|
|
||||||
- name: Miner | Facts | Config File Name
|
|
||||||
set_fact:
|
|
||||||
wallet_file_remote: "InstallFiles/Miners/wallet.ini"
|
|
||||||
wallet_file_local: "{{ user_mfn.home }}/wallet.ini"
|
|
||||||
|
|
||||||
|
|
||||||
## Load Config ##
|
## Load Config ##
|
||||||
|
|
||||||
- name: Miner | Facts | Config File | Download
|
- name: Miner | Facts | Config File | Download
|
||||||
shell: "scp {{ leet_ssh }}:{{ wallet_file_remote }} {{ wallet_file_local }}; chmod 600 {{ wallet_file_local }}"
|
shell: "scp {{ wallet_server }}:{{ wallet_file_remote }} {{ wallet_file_local }}; chmod 600 {{ wallet_file_local }}"
|
||||||
|
|
||||||
- name: Miner | Facts | Config File | Load XMR
|
- name: Miner | Facts | Config File | Load XMR
|
||||||
set_fact:
|
set_fact:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user