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.
This commit is contained in:
@ -66,10 +66,10 @@
|
||||
|
||||
# Software Tasks #
|
||||
- include: tasks/workstation/linux/software/flatpaks.yml
|
||||
when: ansible_system == "Linux" and flatpak_distro
|
||||
when: ansible_system == "Linux" and flatpak_distro and not mobile
|
||||
|
||||
- include: tasks/workstation/linux/software/brave.yml
|
||||
when: ansible_pkg_mgr in ("apt", "dnf")
|
||||
when: ansible_pkg_mgr in ("apt", "dnf") and not mobile
|
||||
|
||||
- include: tasks/workstation/freebsd/software/packages.yml
|
||||
when: ansible_system == "FreeBSD"
|
||||
@ -79,9 +79,10 @@
|
||||
|
||||
# Configuration Tasks #
|
||||
- include: tasks/workstation/shared/settings/gnome.yml
|
||||
when: not mobile
|
||||
|
||||
- include: tasks/workstation/linux/cron/ansible.yml
|
||||
when: ansible_system == "Linux"
|
||||
when: ansible_system == "Linux" and not mobile
|
||||
|
||||
- include: tasks/workstation/shared/settings/nfs.yml
|
||||
|
||||
|
Reference in New Issue
Block a user