51 Commits

Author SHA1 Message Date
742f225de1
General Enhancements (#51)
* Fix website not being trashed during reseed.

* Fix port flags.

* Fix errors about comments by being sneaky.

* Add `encfs`.

* Leave the audio alone when compressing videos unless explicitly requested.

* ffmpeg seems to default to 128k audio, raise it to 192k.

* Handle `time` not being installed more gracefully.

* Add audio normlization per Cahlen Lee.

* Try preventing directories from being renamed.

* Add ability to resize videos, similar to process-video in my Termux project's bashrc.

* Add an -A parameter similar to compress_image.sh.

* Handle uppercase extensions, use TRASH for old compressed copies if it exists, print the FFMPEG command.

* Add datestamps around the conversion.

* Maxrate has been working well in Termux project, use it on desktop too, but don't worry about 2-pass.

* Automatically source Docker environment for using manage.sh if user is root and file exists.

* Add android studio.

* Add missing pipes.

* Stop including Nix, inclue TTT, add git stash to reset.
2024-05-16 10:00:49 -07:00
04a980a7a3
General Enhancements (#50)
* Hide email clients.

* Always install CRON.

* Add variable for the static IP to Hyperling.com.

* Change IPs.

* Beginnings of a script to do IPv6 SCP.

* Add ability to specify which port SSH runs on.

* Require the destination.
2024-01-30 05:25:50 -07:00
b47183af76
Enhancements + Fixes (#41)
* Signal does seem good after all.

* Add alias `here` which shows details of everything in the current location.

* Move instant messengers to consistently be at the end of the favorites bar.

* Change to single quotes so that the pwd is per-call instead of per-source.

* Specify the video codec so that the command works on openSUSE.

* Refactor so that there is a shared/common fact list.

* Add ffmpeg as a package variable.

* Reformat long comment.

* New file for installing package manager apps for workstations.

* Call the workstation package manager tasks.

* Change to parenthesis to look better.

* Explicitly add a video flag, add recursive searching, fix a bug with -f ignoring input.

* Add ability to "force" the compression, deletes old files and regenerates them. Input is now passed with i rather than f for file/folder. f is now used for force.

* Fix skipping the file if it's already compressed. Enhance readability of log text.
2023-06-26 06:58:09 -07:00
b162731c29
General Improvements (#36)
* Add at and reword comment.

* Add cronie, thought this was already done but last pull request got wonky.

* Zypper is not happy about asking Brave repo to be added multiple times.

* Replace deprecated `include` commands.

* Add gcc.

* Add another cc command for openSUSE.

* include_tasks is not supporting ignore_errors like include used to, move to individual tasks.

* Do a better job of removing libreoffice from local package manager.

* Enhance reports.

* Add basic VIM setup.

* Undo some lynis changes, fix folder permissions so users can view.

* Change lynis back to chdir and local execution.

* Add doas.

* Add check against old usage of setup.sh BRANCH.

* Greatly reduce number of tasks, create temp file while building report.

* Create temp file while building report.
2023-02-19 10:04:10 -06:00
904dda6883
Add support for openSUSE (#35)
* Add openSUSE for initial testing.

* Add package names for openSUSE Zypper.

* Add commands for Zypper. Do apt clean after autoremove.

* Add cronie to openSUSE.

* Remove warn parameter for newer version of Ansible.

* Commenting warn worked, removing it completely.

* Add libvulkan1 since it's a dependency for GNOME.

* Fix order of lynis and nmap. Thought I had already done this before?

* Start adding package names for openSUSE.

* Create the sshd_config file if it is not already present.

* Fix OS in conditional.

* Save the command for checking ansible variables.

* Use openSUSE family since Tumbleweed and Leap are considered different distros.

* Get rid of 2nd flathub repo, no longer use the dl. version..

* Add status update for openSUSE.

* Reword sentence.

* Add Brave Browser to openSUSE.

* Script is running successfully now when Workstation is enabled.

* Add status of openSUSE Leap.

* Add space.

* No longer use install-new-recommends.
2023-02-18 09:29:36 -06:00
c9abdaf8a2
Minor Enhancements (#33)
* Add some nice to have packages in case custom or HW kernels go bad.

* Updates to the usage.

* Add a comment for the closure of the program.
2022-12-03 16:12:46 -06:00
e39aeb20e7
Save Battery Life (#32)
* Added parameters (also made the script more of a program).

* Add additional options for unplugged devices.

* Allow disabling of cron jobs and lowering of telegraf frequency through new config options.

* Fix cron package name.

* Fix ssh service name for Ubuntu.

* Add output to the options so user knows they were switched.

* Prevent some tasks when device is mobile.

* Enhance and add to comments.

* Add function to check flatpak app disk usage.

* Add repair into flatpak commands to help clean disk space of unused apps.

* Remove "Done!" output from flatpak-usage.

* Go ahead and add function for purging Flatpak apps.

* Few more comment changes.
2022-12-03 15:28:29 -06:00
cb112ac9b7
Bugfixes (#30)
* Change order of lynis and nmap so that nmap can use its folder.

* Add a few more essentials.
2022-09-27 04:00:45 -05:00
cdfb257b21
Fixes and Enhancements (#24)
* Add TODO.

* Add note.

* Fix hang from NFS sometimes not being up.

* Remove noauto so that `mount -a` works.

* Allow Arch to use BASH.

* Add programs needed for playbook but missing from Arch Base.

* Explicit rename of old install since Github connection is unreliable. Call executable from current directory after chdir.

* Ensure shells are set up correctly on Arch.

* Begin explicitly using microcode packages on dev machines.

* Fix _ typos to -.

* Add Delta Chat.

* Fix equals typo and allow command to fail.

* Delta Chat Desktop works great, add it to Favorites.

* Add Element.

* Add Element.

* Change spot for Element.

* Add new file(s) to call in-development project.

* Remove extra comma.

* Change FreeBSD update checker to weekly.

* Use Github again for pulling updates.
2022-03-27 08:14:06 -05:00
791dc245a6
General Improvements + Miner Deprecation (#23)
* Add volume key controls.

* Add placeholder for LBRY app.

* Refactor gui into gnome and packages. Remove deprecated lineinfiles. Enhance package management.

* Variablize tar to fix FreeBSD.

* Variablize tar to fix FreeBSD.

* Take FreeBSD gui.yml refactor into account.

* Unfinished changes to use self-signed cert so local traffic can hit https. Server starts fine, but getting "gnutls_handshake() failed: An unexpected TLS packet was received." on client's `git clone`.

* Make D2D optional. FreeBSD is still having a hard time compiling it.

* Use a block for Dash To Dock so only one ignore_errors is necessary.

* Deprecate miner section since machines have been decommissioned.

* Remove deprecated file.

* Switch to lightdm on FreeBSD.

* Automate GPU driver installation.

* Updated DWM config and added TODO's.

* Move lynis to src folder for cleanliness.

* Remove debug.

* Refactor for "shared" system type folder.

* Fix FreeBSD gpu.yml location.

* Add a default hosts file to hide warnings.
2022-01-10 13:41:54 +00: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
98f24fbbef
General Fixes (#20)
* Remove redundant calls to facts.

* Must have accidentally removed miner/system thinking it was general/system.

* Add missing variable xmr_stak_cpu.

* Ignore when connection to GitHub fails.

* Telegraf agents have been hoarding resources on Debian servers. Reset job will killall should work properly now.

* Once the function sets accept, it is staying for the session. Need to unset in case `update -y` is run, cancelled, and then `update` is run.
2021-12-17 17:34:21 -06:00
1f5fdb7eb5
General Release (#17)
* Add a few aliases for initializing projects.

* Begin creating executables in bin for flatpaks. Create an array to reduce future changes.

* Add quotes.

* Create files as user and set executable permissions.

* Split exec dir from array section.

* Increase interval for Telegraf but keep the flush at 30s.

* Add alias goodbye/bye, modify alias names for initializing program and video projects.

* Add newline.

* Add content to file to remove warning.

* Use arrays for Flatpak sections. Create executable files for them.

* Move sudoer files into shared folder.

* First stab at automating a GitLab install.

* First stab at automating DWM install.

* Fix 'usr' typo.

* Lowercase dwm.

* Fix config play. Install font-awesome.

* Add placeholder.

* Add dmenu and st.

* Fix typo. Hopefully also fixes ~/bin executables.

* Add Signal. Remove Discord.

* Remove extra line.

* Add newline.

* Move dbus-launch to correct app.

* Fix clock minutes.

* Add server for GitLab.

* Change check, package was not registering anything.

* Change success to failed.

* Change to http. Will use reverse proxy.

* Remove useless sudo. Go ahead and allow postfix to be installed.

* Fix debug option "var".

* Only give the out lines. Remove exit, doesn't stop the job.

* Add a few games and test them on dell-laptop.

* Ignore Lutris errors, Rolling Rhino doesn't like the PPA. ;)

* Add goodbye for updating then quitting.

* Add airbook to gaming.

* Add dnf.

* Fix missing underscores.

* Install cronie on Fedora.

* Beginning to add Fedora.

* Add Fedora values.

* Make font-awesome optional since it may need installed manually on some systems.

* Fix typo in ignore_errors.

* Allow DWM to fail, won't work for all workstations. Fedora doesn't have X11 headers.

* Most dists are using python3-psutil for the psutil package name. Make it the default.

* Fix firefox_esr variable.

* More Fedora support.

* Move installation of cron to more applicable task list.

* Fic nfs-utils typo.

* The font is honestly pretty important. ;)

* Add Librewolf for testing vs Brave.

* For some reason the other link didn't work for Fedora, add the one from flatpak's instructions.

* Fedora status update.

* Add games to Inspiron.

* LibreWolf is amazing. Use it as default if available.

* Use English rather than code for `and` and `or`.

* Always have LibreWolf pinned if it's available. Brave should still be the main browser for URL-clicking compatibility.

* Fix comma.

* Add entry for testing Fedora Gitlab server.

* Attempt to automate more of the Gitlab setup, especially the part of being behind a reverse proxy. Also add Fedora family support.

* Specify the package managers for Gitlab.

* Add missing bracket.

* Add another missing bracket.

* Fix gitlab's when clause.

* Another fix for the gitlab when.

* Change original gitlab install to be Community Edition.

* Fix mgr typo. Create config file if it doesn't exist.

* Remove duplicate `when` on Lutris uninstall.

* Gitlab script gets a packagecloud.io error for Fedora. Looks like only CentOS and its derivatives are supported.

* Update status of Fedora.
2021-11-07 12:40:31 -06:00
37c5b122f8
Add commands and scripts to user. (#7)
* If we're gonig to exit then we should be more sure about our messaging.

* Only have GIMP installed from Flatpak.

* Playbook is causing Ubuntu 20.04 to fail.

* Define gnome_install.failed since some Ansible versions are picky.

* Try again for mad non-Parrot versions of Ansible.

* Add debug.

* Still trying to make Ubuntu 20.04's Ansible happy.

* Fix typos.

* Ubuntu does not need to install Dash To Dock. Also ensure `make` is installed on other distros so that the project is compiled.

* Remove debug.

* Add remount and upgrade commands to RC files.

* Copy root scripts to also be for user.

* Call the new user script.

* Add new commands to rc_common so they're added to the rc files.

* Remove update file on Parrot OS.
2021-08-14 10:03:55 -05:00
1b5be7cebe Add OS check to make Ubuntu happy. 2021-07-13 06:03:30 -05:00
7166e43a3b Attempt to finish the Parrot exit logic. 2021-07-11 08:50:24 -05:00
29fbb2bf3b Add missing s to ignore_errors. 2021-07-11 08:40:33 -05:00
26f243f920 Need to exit after moving Parrot OS zypper. Testing variable attributes. 2021-07-11 08:38:31 -05:00
93df340b49 Add missing colon. 2021-07-11 08:31:05 -05:00
70f5be57ee Remove quotes from name. 2021-07-11 08:30:32 -05:00
1f9dede97f Add quotes to Parrot OS shell. 2021-07-11 08:28:32 -05:00
15d191e1c6 More changes for pattos. Move zypper and put facts on top of files. 2021-07-11 08:27:00 -05:00
3876e76a72 Add a real package name, top was not found in Apt. 2021-07-11 08:11:07 -05:00
42aa687657 Name is required in newer Ansible for package module. 2021-07-11 08:08:39 -05:00
f2112a282a Fix variable name. 2021-02-15 08:42:20 -06:00
a79918941c Ensure sshd is installed. 2021-02-15 08:29:20 -06:00
e46f11cfe7 Go ahead and install zsh in case I like it and want to switch. This also fixes error in gather.yml. 2021-02-15 07:25:25 -06:00
b3c2f65cae Ignore errors. Had to uninstall from Manjaro manually, unsure why package was unhappy. 2021-02-14 07:31:01 -06:00
956f405293 Fix name. 2021-02-14 07:29:35 -06:00
b4ec98752b Manjaro failed to uninstall snapd, try disabling it first. 2021-02-14 07:26:58 -06:00
5504d57230 Make name more accurate. 2021-02-13 05:47:35 -06:00
5947b24b17 Fix when syntax. 2021-02-06 15:38:16 -06:00
5a1fab6eea GNOME settings and UI improvements. 2021-02-06 15:33:26 -06:00
01b0fb21df Add nmap. 2021-02-03 12:44:06 -06:00
ee8733c862 Sudo needs to be installed. Move it out of the disabled updates section. 2021-02-03 12:38:42 -06:00
2951b687ae Better names. :) 2021-02-02 21:28:17 -06:00
668fd67fd0 Make locate package a variable. Does not need installed on FreeBSD so checking if blank is OK. 2021-02-02 20:22:36 -06:00
7bdfed742b Make quotes happy. 2021-02-01 07:14:03 -06:00
827e089300 Trying multiple ways of possibly fixing keygen error. Also disabled updating packages for now, could be unsafe if a broken update came out since machines would fall off scm. 2021-02-01 07:04:41 -06:00
e3b5d6b915 Add pkg refresh for FreeBSD. Create SSH key with shell instead of fancy module. Still looking into how to (safely) get newer ansible on Debian. 2021-02-01 06:52:28 -06:00
a68bafd338 Better and more consistent names. 2021-02-01 06:43:32 -06:00
b1471edf52 Add some packages that should be kept up to date. Hopefully Debian gets to 2.8 sometime soon. May need to use a more bleeding edge repo if not. 2021-02-01 06:40:23 -06:00
c7b0c4f265 Remove tests, start using ansible_pkg_mgr. :D 2021-02-01 06:36:00 -06:00
3e78c363c7 Change family test to only be for Debian. 2021-02-01 06:09:08 -06:00
3a20a1c08f = to == 2021-02-01 06:06:18 -06:00
0a6ed914b4 Testing ansible_pkg_mgr fact. 2021-02-01 06:04:35 -06:00
062116df5a Shorten names. 2021-02-01 05:55:24 -06:00
c71dace1d7 Add test for apt. 2021-02-01 05:54:38 -06:00
36e2e6ee4b Testing for LearnLinuxTV Ansible Bug #1. 2021-02-01 05:40:39 -06:00
922d0cfe82 Debugging the tests. Do not remove snapd from Ubuntu for now. Add some comments. 2021-02-01 05:15:45 -06:00