Hyperling
7fc218896f
* 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.
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
---
|
|
# Provide FreeBSD with a DE.
|
|
|
|
- name: Workstation | FreeBSD | GUI | Install UI Components
|
|
package:
|
|
name:
|
|
- xorg
|
|
- gnome3-lite
|
|
- "{{ firefox_esr }}"
|
|
- "{{ evolution }}"
|
|
- vscode
|
|
- gimp
|
|
- telegram-desktop
|
|
state: present
|
|
|
|
- name: Workstation | FreeBSD | GUI | Uninstall Bloat
|
|
package:
|
|
name:
|
|
- "{{ firefox }}"
|
|
- "{{ thunderbird }}"
|
|
state: absent
|
|
|
|
- name: Workstation | FreeBSD | GUI | Create rc.conf Entries
|
|
blockinfile:
|
|
path: "{{ rc_conf }}"
|
|
marker: "# {mark} MANAGED BY ANSIBLE | GUI Components"
|
|
block: |
|
|
dbus_enable="YES"
|
|
hald_enable="YES"
|
|
gnome_enable="YES"
|
|
gdm_enable="YES"
|
|
create: yes
|
|
backup: yes
|
|
|
|
- name: Workstation | FreeBSD | GUI | Create proc fstab Entry
|
|
lineinfile:
|
|
path: /etc/fstab
|
|
regexp: '^proc'
|
|
line: proc /proc procfs rw 0 0
|
|
state: absent
|
|
backup: yes
|
|
|
|
- name: Workstation | FreeBSD | GUI | Create proc fstab Comment
|
|
lineinfile:
|
|
path: /etc/fstab
|
|
regexp: '^# MANAGED BY ANSIBLE | Leet Share'
|
|
line: '# MANAGED BY ANSIBLE | Leet Share'
|
|
state: absent
|
|
insertbefore: '^proc'
|
|
|
|
- name: Workstation | FreeBSD | GUI | Create fstab Entries
|
|
blockinfile:
|
|
path: /etc/fstab
|
|
block: |
|
|
proc /proc procfs rw 0 0
|
|
marker: '# {mark} MANAGED BY ANSIBLE | GUI Components'
|
|
state: present
|
|
backup: yes
|
|
|
|
- name: Workstation | FreeBSD | GUI | Mount All
|
|
shell: mount -a
|
|
args:
|
|
warn: false
|