26 Commits

Author SHA1 Message Date
b26d94d911
Revert miner back to 3.4.3, 3.5.2 has error "Could not make binaries for gfx1010". (#22) 2021-12-27 06:10:30 -06:00
451e76559d
Add Git Server To Keep ansible-pull Traffic Local (#21)
* Fedora Minimal does not come with tar. Need installed for Telegraf.

* First attempt at automating HTTP git server setup.

* Add cron jobs to keep projects up to date.

* Add new git playbook to server.

* Add new server variables for git. Put all variables in a dictionary.

* Put variables into run file.

* Fix the loop variables to be dictionaries, not jinja.

* Upgrade nanominer.

* Attempt to fix templating error.

* Attempt to fix templating error, but in the right spot this time. :)

* Attempt another fix for building list of dictionaries.

* Change strings to dicts.

* Add quotes for jinja variables.

* Remove extra curly brackets.

* Fix the rest of the file's dictionaries now that General works.

* Remove testing code.

* Variablize ansible repo. Begin watching personal repos rather than pinging GitHub.

* Fix variables to append, not replace.

* Fix variable names.

* Try to prevent variables from being strings, without getting formatting error.

* Try to fix variables, again.

* Fixed git.yml. Found a way to test locally and all is working now.
2021-12-24 14:55:21 -06:00
8e4247fd58
Hosts Variable Refactor, User Name Refactor, Metasploit, Brave on Fedora, Aliases (#19)
* Add Brave to Fedora (DNF).

* First attempt to add metasploit installer.

* Fix check for Linux and macOS to use System, not Distro.

* Add more memorable aliases for msfconsole.

* Telegraf is attemping to install doube-time since hosts match both localhost and hostname.

* Add missing pipe.

* Attempt to fix flatpak play no longer being able to find user_ling var. Don't see anything in the dev branch which would have changed this behavior though.

* Add note for future removal.

* Use general gather for all groups. Move user variables to it.

* Feodra Workstation succeeds now! Add newline to end of file.

* First attempt at doing host variables via local files.

* Try using ini as lookup.

* Remove "-" typo.

* Add an initial gather even though it may not have all values properly populated on a machine's first run.

* Fix typo in ignore.

* Try default values.

* Try defaults without quotes.

* Add a section header. Add a default back.

* Rename section to global.

* Add workstation provision file. Change variables to require true. Only load config file if hosts is not being used.

* Put flags back on Dell so that programs are not removed while configuring files.

* Add provision config read to workstation.

* Go ahead and force config files for hosts. Only affects dev branch until PR. Start making miner and server files.

* Change {{}} to (()) in comments to avoid undefined variable error.

* Attempt to modify existing task groups instead of moving all tasks to one large group.

* Try to use blocks.

* Name blocks and remove redundant calls.

* Do the bare minimum for miner and server so the variables are at least defined.

* Ensure Server and Miner look at their own files.

* Test how block variables are handled.

* Are the variables true Booleans, not strings??

* Change exits to tests so we can see which ones work.

* Add more tests.

* Add the test results.

* Add config_dir for plays to use when making any config files.

* Move provision config dir.

* Add results of test.

* Remove the exit. Fix the blocks' whens.

* Do provision after starting, that way all facts exist.

* Fix all "true"'s.

* Adjust variable checks for provision_config changes.

* Change gui to wrk. Add aliases to cat files.

* Comment entire hosts file.

* Add localhost,

* Try localhost rather than host file group.

* Fix typo in "prov_dir".

* Add newline to end of file.

* Add newline to end of file.

* Add newline to end of file.

* Debug variable. Should be getting set but receiving errors on Fedora.

* Add newline to end of file.

* Fix debug property, var not name.

* Fix show-config. Change show-config-all to only hit active files, not backups.

* Uncomment commented workstation.

* Add commands to edit files.

* Attempt to fix gitlab installer variables.

* Attempt to fix gitlab play variable.

* Replacing `ling` for `{{ user }}`.

* Remove TODO.

* Remove `config_dir` and move provision config back near top.

* `user_root` is not needed, already moved to /usr/local/etc/.

* Add value for running anything at all. This allows user to set up files before first run.

* Reduce the check frequency,

* Ensure files are printed in correct order. Also add a newline between each.

* Only send file if it exists, and then remove it if it sends successfully.

* Always set the destination variables.

* Only run the scp for systems without sshfs. Forgot that system variables were shared between the two, and do not want to scp the files to themselves then delete the files from the mount.
2021-12-05 18:08:51 -06:00
b3b2874ad3
Software Updates, FreeBSD Sendmail, GitLab Fixes (#18)
* Assign test to dev branch.

* Update telegraf Linux binary.

* First attempt at making sure sendmail is on FreeBSD systems.

* Change gitlab_url to be specified in host file.

* Upgrade nanominer.

* Fix FINISH file being populated without START on non-containers.

* Prevent installer from trying to set up certificate.

* Fix name spacing.

* Fix gitlab_url variable.

* Change names to show both parameter name and value.

* Fix gitlab_url values to contain the protocol.

* Fix gitlab_url example.
2021-11-21 22:28:11 +00:00
107374d93c
General Improvements + FreeBSD Fixes (#15)
* 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.
2021-10-18 07:13:49 -05:00
efae679135
Upgrade nanominer to 3.3.12. 3.3.6 is becoming less reliable. (#11) 2021-09-28 17:40:43 -05:00
2d236d6ad4 Upgrade to nanomienr 3.3.6. 2021-06-29 06:53:12 -05:00
2d2d9529aa Upgrade nanominer to 3.3.4. 2021-04-20 07:28:01 -05:00
b2cfa79c50 Upgrade nanominer from 3.3.2 to 3.3.3. 2021-04-03 09:27:53 -05:00
9b0f8a823c Fix missing variables. 2021-03-28 08:49:34 -05:00
1b7f7374e5 Upgrade nanominer version from 3.2.2 to 3.3.2. 2021-03-25 08:29:35 -05:00
91664d6b26 Put everything in a combined log file for easy searching or tailing. 2021-02-18 07:51:57 -06:00
7953bc7a51 GPU mining performance starting to report lower over time, looks like lots of watchdog processes running. Add a daily reboot as well as follow-up patch. Refactor current schedule document across a few files. 2021-02-17 05:12:25 -06:00
399396bfc3 Ignore cron calling the job with sh. 2021-02-15 19:57:14 -06:00
381a8b9e5d Ignore current script in check alive. 2021-02-15 19:13:47 -06:00
eb801e8524 Make the check alive command a command. Further try to make the config file obvious to read. 2021-02-15 19:06:32 -06:00
fdd1db85e5 Move check alive to be in script, not cron. 2021-02-15 18:58:06 -06:00
8cc014d063 Set mfn up for using bash expressions in cron. 2021-02-15 18:41:04 -06:00
ff7acec031 Fix comments. 2021-02-15 18:05:57 -06:00
89ca442da5 Find bash executable. 2021-02-15 18:05:22 -06:00
ba9745fcd0 First commit for creating nanomine config file. 2021-02-15 17:48:04 -06:00
f35527eedd Make config file useful for more than just wallets. Not sure what else yet. 2021-02-15 16:11:25 -06:00
dfe3e285b4 Lol, error was due to the comma after the section name. I must have followed a bad example since documentation does not have them. Refactor file to be config for anything miner related and private. 2021-02-15 16:03:34 -06:00
5493fd61e5 Remove section due to configparser.NoSectionError and try global. 2021-02-15 15:45:49 -06:00
47c86079da Try different way of specifying key. 2021-02-15 15:43:34 -06:00
3643cad3d9 Miner group can't see localhost facts, had to add variable for scp server. 2021-02-15 15:25:11 -06:00