2021-07-11 11:30:59 -05:00
|
|
|
# Some Linux distros come with meh DE's, this fixes that.
|
|
|
|
|
|
|
|
- name: Workstation | Linux | Software | GNOME | Install
|
|
|
|
package:
|
2021-07-11 11:32:39 -05:00
|
|
|
name:
|
|
|
|
- gnome
|
|
|
|
- gdm3
|
2021-07-11 11:30:59 -05:00
|
|
|
state: present
|
|
|
|
register: gnome_install
|
|
|
|
when: ansible_distribution in ("Parrot OS")
|
|
|
|
|
2021-07-11 11:36:22 -05:00
|
|
|
- name: Workstation | Linux | Software | GNOME | TEST
|
|
|
|
debug:
|
|
|
|
var: gnome_install
|
|
|
|
when: gnome_install is defined and gnome_install.changed
|
|
|
|
|
2021-07-11 11:30:59 -05:00
|
|
|
- name: Workstation | Linux | Software | GNOME | Note Before Exiting
|
|
|
|
debug:
|
|
|
|
msg: "You will probably need to run `dpkg-reconfigure gdm3` to ensure gdm3 is selected."
|
|
|
|
when: gnome_install is defined and gnome_install.changed
|
|
|
|
|
|
|
|
- name: Workstation | Linux | Software | GNOME | Exiting
|
|
|
|
shell: exit 1
|
|
|
|
when: gnome_install is defined and gnome_install.changed
|