FreeBSD and QoL changes.

This commit is contained in:
Hyperling 2021-01-31 12:58:37 -06:00
parent 2f0b319242
commit 537a0f59ca
6 changed files with 25 additions and 1 deletions

View File

@ -1,2 +1,3 @@
[defaults]
inventory = hosts
localhost_warning = False

View File

@ -5,6 +5,7 @@
ansible.builtin.set_fact:
firefox: firefox
thunderbird: thunderbird
evolution: evolution
when: ansible_distribution == "Pop!_OS"
@ -13,6 +14,7 @@
ansible.builtin.set_fact:
firefox: firefox
thunderbird: thunderbird
evolution: evolution
when: ansible_distribution == "Ubuntu"
@ -21,4 +23,5 @@
ansible.builtin.set_fact:
firefox: firefox
thunderbird: thunderbird
evolution: evolution
when: ansible_distribution == "FreeBSD"

1
hosts
View File

@ -1,6 +1,5 @@
[workstation]
x570
dell
dell-laptop
[server]

View File

@ -27,6 +27,11 @@
tasks:
- include: tasks/flatpaks.yml
when: ansible_distribution != "FreeBSD"
tasks:
- include: tasks/freebsd_gui.yml
when: ansible_distribution == "FreeBSD"
# Run hardness checks

View File

@ -34,4 +34,5 @@
name:
- "{{ firefox }}"
- "{{ thunderbird }}"
- "{{ evolution }}"
state: absent

15
tasks/freebsd_gui.yml Normal file
View File

@ -0,0 +1,15 @@
- name: Install FreeBSD UI Software
package:
name:
- xorg
- gnome3
- "{{ firefox }}"
- "{{ thunderbird }}"
update_cache: yes
- name: Uninstall Bloat
package:
name:
- "{{ evolution }}"
update_cache: yes
present: no