* Remove Thunderbird and Audacity. Don't add Geary to new installs but don't remove it in case it comes with the distro.
* Remove Thunderbird from Favorites.
* Add more systems to Dev branch.
* Add sudo so older distros don't ask for password on every app update.
* Alias for sync to help save some time typing.
* Post less often to hopefully allow keeping up a year of data in less than 16GB.
* Allow workstations to use printers without manual intervention.
* Section does more than UI work.
* Fix file path.
* Upgrade nanominer to 3.3.13.
* Add more chances for script to automatically restart.
* Add the minhashrate for x570.
* Up the minimum for x570.
* Fix "1: syntax error, unexpected USERGROUP, expecting END or ':' or '\n'" on FreeBSD.
* Correct FreeBSD package manager.
```
ansible -m setup localhost | grep ansible_pkg_mgr
"ansible_pkg_mgr": "pkgng"
```
* Set vi as EDITOR.
* Add FreeBSD to distros that include make. It does not have an install from pkg.
* Make on FreeBSD hates dash-to-dock's Makefile. GMake has better luck.
* Update supported OS's.
60 lines
2.1 KiB
YAML
60 lines
2.1 KiB
YAML
---
|
|
# Define file, folder, and other facts per OS.
|
|
|
|
## Global ##
|
|
|
|
- name: Miner | Facts | System | Global 1
|
|
set_fact:
|
|
file_server: 'ling@leet'
|
|
check_alive_start: "[[ `ps -ef | grep -v 'grep' | grep -v '/bin/sh -c' | grep -v $$ | grep -c '"
|
|
check_alive_end: "'` == '0' ]] &&"
|
|
combined_log_file: "{{ user_mfn.home }}/log.txt"
|
|
|
|
- name: Miner | Facts | System | Global 2
|
|
set_fact:
|
|
use_combined_log_file: ">> {{ combined_log_file }} 2>&1"
|
|
|
|
|
|
## Config File ##
|
|
|
|
- name: Miner | Facts | System | My Config File
|
|
set_fact:
|
|
config_file_remote: "InstallFiles/Miners/miner.ini"
|
|
config_file_local: "{{ user_mfn.home }}/miner.ini"
|
|
config_section_wallet: wallet
|
|
|
|
|
|
## Ethminer ##
|
|
|
|
## xmr-stak ##
|
|
|
|
## Nanominer ##
|
|
|
|
- name: Miner | Facts | System | nanominer 1
|
|
set_fact:
|
|
nanominer_home: "{{ user_mfn.home }}/nanominer"
|
|
nanominer_version: "3.3.13" # Download link: https://github.com/nanopool/nanominer/releases
|
|
nanominer_script: "{{ user_mfn.home }}/nanominer.sh"
|
|
nanominer_tar_remote: "InstallFiles/Miners/nanominer/*.tar.gz"
|
|
|
|
- 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"
|
|
|
|
- name: Miner | Facts | System | nanominer 3
|
|
set_fact:
|
|
nanominer_tar_local: "{{ nanominer_bin }}.tar.gz"
|
|
nanominer_exec: "{{ nanominer_bin }}/nanominer"
|
|
|
|
|
|
## Miner Array ##
|
|
|
|
- name: Miner | Facts | System | Miner Array
|
|
set_fact:
|
|
miners:
|
|
- { "name": "xmr_stak_cpu", "enabled": '{{ (xmr_stak_cpu is defined) }}', "command": "{{ user_mfn.home }}/xmr_stak_cpu.sh {{ use_combined_log_file }}" }
|
|
- { "name": "ethminer", "enabled": '{{ (ethminer is defined) }}', "command": "{{ user_mfn.home }}/ethminer.sh {{ use_combined_log_file }}" }
|
|
- { "name": "nanominer", "enabled": '{{ (nanominer is defined) }}', "command": "{{ nanominer_script }} {{ use_combined_log_file }}" } |