2021-02-15 15:25:11 -06:00
|
|
|
---
|
|
|
|
# Define file, folder, and other facts per OS.
|
|
|
|
|
2021-02-15 17:48:04 -06:00
|
|
|
## Global ##
|
|
|
|
|
|
|
|
- name: Miner | Facts | System | My Config File
|
|
|
|
set_fact:
|
|
|
|
file_server: 'ling@leet'
|
|
|
|
|
|
|
|
|
|
|
|
## Config file ##
|
|
|
|
- name: Miner | Facts | System | My Config File
|
2021-02-15 15:25:11 -06:00
|
|
|
set_fact:
|
2021-02-15 16:03:34 -06:00
|
|
|
config_file_remote: "InstallFiles/Miners/miner.ini"
|
|
|
|
config_file_local: "{{ user_mfn.home }}/miner.ini"
|
2021-02-15 16:11:25 -06:00
|
|
|
config_section_wallet: wallet
|
2021-02-15 17:48:04 -06:00
|
|
|
|
|
|
|
|
|
|
|
## nanominer ##
|
|
|
|
|
|
|
|
- name: Miner | Facts | System | nanominer 1
|
|
|
|
set_fact:
|
|
|
|
nanominer_home: "{{ user_mfn.home }}/nanominer"
|
|
|
|
nanominer_version: "3.2.2"
|
|
|
|
nanominer_script: "{{ user_mfn.home }}/nanominer.sh"
|
|
|
|
nanominer_tar_remote: "InstallFiles/Miners/nanominer/*.tar.gz"
|
|
|
|
when: nanominer is defined
|
|
|
|
|
|
|
|
- name: Miner | Facts | System | nanominer 2
|
|
|
|
set_fact:
|
|
|
|
nanominer_bin: "{{ nanominer_home }}/nanominer-linux-{{ nanominer_version }}"
|
|
|
|
nanominer_tar_remote: "InstallFiles/Miners/nanominer/*{{ nanominer_version }}*.tar.gz"
|
|
|
|
nanominer_config: "{{ nanominer_home }}/config.ini"
|
|
|
|
nanominer_logs: "{{ nanominer_home}}/logs"
|
|
|
|
when: nanominer is defined
|
|
|
|
|
|
|
|
- name: Miner | Facts | System | nanominer 3
|
|
|
|
set_fact:
|
|
|
|
nanominer_tar_local: "{{ nanominer_bin }}.tar.gz"
|
|
|
|
nanominer_exec: "{{ nanominer_bin }}/nanominer"
|
|
|
|
when: nanominer is defined
|