19 Commits

Author SHA1 Message Date
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
709714db04 Add ACPI to Linux servers. Turnkey doesn't have it enabled by default. 2022-08-29 06:50:49 -05:00
3109891a7e
Remove Share Drives (#28)
* Add another requirement for Debian to download key.

* Add setup script instead of using scm.hyperling.com.

* Fix setup permissions.

* Starting effort to remove share drives from script. Downsizing homelab.

* Remove files which are no longer useful without mounts.

* Allow initializing on alternate branches.

* Fix Lynis and NMap log locations.

* Remove deleted files from main.

* Fix nmap filename.

* Remove _name from report variables.
2022-08-23 19:22:27 -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
bdf3ffa456
Newlines, comments, and HUGO path. (#2)
* 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.
2021-07-13 07:33:05 -05:00
300c84c026 Add cron to service variables. 2021-02-20 11:09:24 -06:00
78370d0e93 Add var and job for sshd config. 2021-02-15 09:22:26 -06:00
6f403491ca Changes for SSHD. 2021-02-15 08:40:32 -06:00
49f188203a FreeBSD is suddenly upset about defaults. 2021-02-13 05:50:06 -06:00
682377a503 Test SSHFS so that bad FSTAB entries don't get created on Linux when they'll break. 2021-02-07 08:03:13 -06:00
ebe579a205 Variablize ssh. Make non-sshfs report cron job a loop. 2021-02-07 07:26:54 -06:00
0ed6685b30 Add psutil dependency. Fix names in fact files. 2021-02-06 17:00:55 -06:00
4ffc25c804 Save reports and heartbeat to 1337 drive. Fix some fact names. 2021-02-06 07:16:19 -06:00
f46d2495f2 More 1337 share work. 2021-02-06 07:00:47 -06:00
638ee2a746 Fix mounting 1337 on FreeBSD. Adjust flatpak commands to use firefox-esr. 2021-02-06 06:48:59 -06:00
86e1881090 General FreeBSD and account improvements. 2021-02-03 21:17:48 -06:00
2951b687ae Better names. :) 2021-02-02 21:28:17 -06:00
6633e62c77 Split package facts between CLI and UI. 2021-02-02 20:44:31 -06:00
2cef5e7921 When setting facts for localhost, does not set facts for other host patterns. Testing breakout of workstation facts. 2021-02-01 08:28:12 -06:00