FreeBSD and QoL changes.
This commit is contained in:
parent
2f0b319242
commit
537a0f59ca
@ -1,2 +1,3 @@
|
||||
[defaults]
|
||||
inventory = hosts
|
||||
localhost_warning = False
|
@ -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"
|
@ -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
|
||||
|
@ -34,4 +34,5 @@
|
||||
name:
|
||||
- "{{ firefox }}"
|
||||
- "{{ thunderbird }}"
|
||||
- "{{ evolution }}"
|
||||
state: absent
|
15
tasks/freebsd_gui.yml
Normal file
15
tasks/freebsd_gui.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user