47 Commits

Author SHA1 Message Date
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
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
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
db9812bb92
Disk Maintenance Day Changes (#14)
* 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.
2021-10-09 14:13:48 -05:00
7fc218896f
Go back to Evolution over Thunderbird (#10)
* Remove Thunderbird from FreeBSD, replace with Evolution.

* Add Evolution from package manager and NOT flatpak.

* Fix comment. Firefox hasn't been the default for a while.

* Add dependency msgfmt for `make`ing Dash To Dock.

* Add dependency msgfmt for `make`ing Dash To Dock.

* Add all parts of Evolution.

* Modify comment.

* Maybe updating Evolution will get Debian to fix the `[residual-config]` problem.

* Add Evolution above Thunderbird.

* Also install all add-ons.
2021-08-30 06:59:40 -05:00
3dec7e7d82
Fix GNOME Install For Ubuntu 20.04 (#6)
* 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.
2021-08-09 08:09:16 -05:00
fcf9dc1d89 Add Telegram to FreeBSD favorites. 2021-07-20 06:05:10 -05:00
e2e5c23322 Reformat a little bit. 2021-07-19 17:51:38 -05:00
3a60553f88 Remove Geary from favorites. No dark theme or calendar, but still good to have installed. 2021-07-19 17:50:20 -05:00
b451700616 Add Geary to favorites. 2021-07-19 10:44:11 -05:00
fcae2dc8dd Super try to make sure that the comma only gets created when needed. 2021-07-19 10:10:07 -05:00
289ee20fd1 Ensure variable is empty parenthesis if it is None for some reason. 2021-07-19 10:01:02 -05:00
797ad851ad Add names to debug statements for better troubleshooting. 2021-07-19 09:56:39 -05:00
c59e706c17
Add initial HUGO support, FreeBSD 13 support, and script for Ansible to hit dev branch. (#4)
* Create HUGO file.

* Add HUGO.

* Add script for running system against development branch.

* Add newline to end of file.

* Comment unused blocks.

* Add path of site that HUGO should host.

* Newlines, comments, and HUGO path. (#2) (#3)

* Create HUGO file.

* Add HUGO.

* Add script for running system against development branch.

* Add newline to end of file.

* Comment unused blocks.

* Add path of site that HUGO should host.

* FreeBSD is complaining about certbot not having dict object stdout. This whole playbook is supposed to be skipped though, lol.

* FreeBSD 13 is still mad. Ansible 2.11.2, jinja 2.11.2 (same version number??), Python 3.8.10.

* Fix root group to be existing variable. FreeBSD uses wheel.

* Allow choosing Github branch dynamically.

* `branch` needs to be at General level. Testing if this works...

* Change other `localhost` to `everything`.

* Update FreeBSD status.

* Goodbye, Code-OSS on Linux!

* Delete a terrible file.

* Remove excess tag.

* "Fix" SSHFS for FreeBSD.

* Variablize FreeBSD's loading of fusefs.

* Variablize /etc/rc.conf. Enable FuseFS more properly.

* Add beginning ticks.

* Add missing playbook.

* Enable FreeBSD mount job.

* Rearrange items to be more consistent with comment.

* It seems  FreeBSD removed the `gnome3` metapackage. Use `gnome3-lite` instead. Also add Telegram.

* Python is to 3.8 now.

* Expand on FreeBSD work.

* Expand on FreeBSD work.

* Add placeholders for Gitlab.

* Add parameter for Gitlab install.

* Add Gitlab playbook.

* Ensure FreeBSD uses the correct Python install.

* Add newline.

* Fix NFS for FreeBSD workstations.

* Remove unnecessary line, restricted install to Linux in playbook.

* Fix mount options for FreeBSD.

* Fix mount number, as well as system-specific facts.

* Add placeholders for remote viewing.

* Add RDP for FreeBSD.

* Omg! It works! Add setting enforcement.

* Always remove OSS.

* Remove hosts from explicit dev testing.
2021-07-19 07:07:03 -05:00
b3b2bd2745 Re-order again. Utilities before social and fun things. 2021-07-12 20:48:56 -05:00
3d254e99d6 Re-order favorites. 2021-07-12 20:46:40 -05:00
54ab2f0724 Variables 1 failed, so now making it skip based on dash_to_dock_exists.failed instead of gnome_enabled_extensions. 2021-07-12 20:39:19 -05:00
e33a1abe3c Fix true to be a string so it gets sent lowercase (unthanks to Python/Ansible). dconf will convert it to a bool for us. 2021-07-12 08:17:18 -05:00
a1a2d01fb9 Alright, this is getting kinda goofy, but we're really dang close. 2021-07-12 08:13:27 -05:00
3bc393e335 Force LEFT as a string. 2021-07-12 08:09:49 -05:00
26a7e49576 Remove a leftover .value. 2021-07-12 08:04:08 -05:00
7375d7c30a Trying again!! Never give up!!! 2021-07-12 08:02:20 -05:00
92ca0f3ed4 Ensure comma variable is always initialized. 2021-07-12 07:54:08 -05:00
ddfa9a2f3c Try adding the @as now too, Didn't see that before. 2021-07-12 07:00:42 -05:00
a19e401519 Length did not work. Try checking for empty array as a string. 2021-07-12 06:57:23 -05:00
e39c63fb70 Dash To Dock, attempt 5. ;) 2021-07-11 15:59:05 -05:00
17371514c1 Adding debug statements. Union did not work for "array + string". I thought they were both arrays. 2021-07-11 15:54:35 -05:00
4da7a9603d Dash To Dock, attempt 4. 2021-07-11 15:43:43 -05:00
1ac71a97a1 Dash To Dock, attempt 3. 2021-07-11 15:38:27 -05:00
7a22bff52b Dash To Dock, attempt 2. 2021-07-11 15:31:08 -05:00
90105c1b9d Ensure extension Dash To Dock exists, attempt 1. 2021-07-11 15:26:19 -05:00
1730372778 Add Codium to GNOME favorites. 2021-07-11 10:11:04 -05:00
49a2e15526 Add Telegram to favorites. 2021-07-09 19:22:13 -05:00
fec9c37759 Prevent EVERYTHING from installing on workstations. Change GNOME favorites. 2021-07-01 05:58:08 -05:00
8614717e14 Attempt to add NFS install and share drive. 2021-04-24 20:45:42 -05:00
f5f3670c9c Fix variable name. 2021-04-10 11:47:02 -05:00
e64c2ff416 Fix set_fact syntax, 2021-04-10 11:45:25 -05:00
d8fe14e1b6 Add browser Brave to favorite tray. 2021-04-10 11:44:34 -05:00
3a8385bf34 Fix path. 2021-03-28 08:33:26 -05:00
4305d95159 Add my preferred icon size. 2021-03-28 07:50:41 -05:00
5949cab3b5 Remove Midori and Firefox... for now. 2021-03-20 13:05:03 -05:00
fd61b3aa95 Add alternative browsers for testing. 2021-02-23 19:01:52 -06:00
37904d7bd3 Move system monitor by terminal. 2021-02-14 19:53:11 -06:00
744f4e93b2 Add video tools to favorites. 2021-02-14 08:11:12 -06:00
7c09171315 Change name. 2021-02-14 08:02:14 -06:00
db6f098c26 Rearrange a few items and add monitor. 2021-02-14 07:58:50 -06:00
b318d6a6a6 Reorganization. 2021-02-11 07:03:04 -06:00