62 lines
1.4 KiB
YAML
Raw Normal View History

---
# Provide FreeBSD with a DE.
2021-02-02 21:28:17 -06:00
- name: Workstation | FreeBSD | GUI | Install UI Components
2021-01-31 12:58:37 -06:00
package:
name:
- xorg
- gnome3
- "{{ firefox_esr }}"
2021-01-31 12:58:37 -06:00
- "{{ thunderbird }}"
2021-02-06 15:33:26 -06:00
- vscode
2021-03-21 08:41:52 -05:00
- gimp
state: present
2021-01-31 12:58:37 -06:00
2021-02-02 21:28:17 -06:00
- name: Workstation | FreeBSD | GUI | Uninstall Bloat
2021-01-31 12:58:37 -06:00
package:
name:
- "{{ firefox }}"
2021-01-31 12:58:37 -06:00
- "{{ evolution }}"
state: absent
2021-02-02 21:28:17 -06:00
- name: Workstation | FreeBSD | GUI | Create rc.conf Entries
blockinfile:
path: /etc/rc.conf
marker: "# {mark} MANAGED BY ANSIBLE | GUI Components"
block: |
dbus_enable="YES"
hald_enable="YES"
gnome_enable="YES"
gdm_enable="YES"
2021-01-31 14:19:57 -06:00
backup: yes
- name: Workstation | FreeBSD | GUI | Create proc fstab Entry
lineinfile:
path: /etc/fstab
regexp: '^proc'
line: proc /proc procfs rw 0 0
2021-02-07 06:22:49 -06:00
state: absent
2021-01-31 14:19:57 -06:00
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'
2021-02-07 06:22:49 -06:00
state: absent
insertbefore: '^proc'
2021-02-07 06:22:49 -06:00
- 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