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.
This commit is contained in:
@ -144,6 +144,7 @@
|
||||
return 1
|
||||
}
|
||||
sync: alias sync='date && echo "Syncing!" && sync && date'
|
||||
editor: export EDITOR='vi'
|
||||
|
||||
- name: General | Account Management | Users | Files | Common Variable
|
||||
set_fact:
|
||||
@ -159,6 +160,7 @@
|
||||
{{ remount }}
|
||||
{{ update }}
|
||||
{{ sync }}
|
||||
{{ editor }}
|
||||
|
||||
- name: General | Account Management | Users | Files | .bashrc
|
||||
blockinfile:
|
||||
|
@ -106,6 +106,9 @@
|
||||
email = me@hyperling.com
|
||||
sortPools = true
|
||||
memTweak = 0
|
||||
minHashrate = {{ eth_minhashrate }}
|
||||
restarts = 0
|
||||
maxRejectedShares = 1
|
||||
marker: ';{mark} MANAGED BY ANSIBLE - GPU Headers'
|
||||
marker_begin: ';;;;;;;;;;;; BEGIN'
|
||||
marker_end: ' END'
|
||||
|
@ -52,13 +52,13 @@
|
||||
- name: Workstation | Account Management | GNOME | Dash To Dock | Install | Dependencies
|
||||
package:
|
||||
name:
|
||||
- make
|
||||
- "{{ make }}"
|
||||
- "{{ msgfmt }}"
|
||||
state: present
|
||||
when: ansible_distribution not in ("Ubuntu") and dash_to_dock_exists.failed
|
||||
|
||||
- name: Workstation | Account Management | GNOME | Dash To Dock | Install | Make
|
||||
shell: "cd ~/TRASH/dash-to-dock/; make; make install"
|
||||
shell: "cd ~/TRASH/dash-to-dock/; {{ make }}; {{ make }} install"
|
||||
become_user: ling
|
||||
when: ansible_distribution not in ("Ubuntu") and dash_to_dock_exists.failed
|
||||
|
||||
|
18
tasks/workstation/settings/services.yml
Normal file
18
tasks/workstation/settings/services.yml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
# Enable and disable services.
|
||||
|
||||
## CUPS ##
|
||||
|
||||
- name: General | Software | Services | Disable CUPS Daemon
|
||||
service:
|
||||
name: "{{ cups }}"
|
||||
pattern: "{{ cups_pattern }}"
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: General | Software | Services | Disable CUPS-Browse Daemon
|
||||
service:
|
||||
name: "{{ cups_browse }}"
|
||||
pattern: "{{ cups_browse_pattern }}"
|
||||
state: started
|
||||
enabled: yes
|
Reference in New Issue
Block a user