diff --git a/local.yml b/local.yml index 03222eb..f276aee 100644 --- a/local.yml +++ b/local.yml @@ -65,6 +65,9 @@ - include: tasks/workstation/linux/cron/ansible.yml when: ansible_system == "Linux" + - include: tasks/workstation/linux/software/gnome.yml + when: ansible_system == "Linux" + - include: tasks/workstation/settings/gnome.yml - include: tasks/workstation/settings/nfs.yml diff --git a/tasks/workstation/linux/software/gnome.yml b/tasks/workstation/linux/software/gnome.yml new file mode 100644 index 0000000..038c500 --- /dev/null +++ b/tasks/workstation/linux/software/gnome.yml @@ -0,0 +1,17 @@ +# Some Linux distros come with meh DE's, this fixes that. + +- name: Workstation | Linux | Software | GNOME | Install + package: + name: gnome gdm3 + state: present + register: gnome_install + when: ansible_distribution in ("Parrot OS") + +- 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 \ No newline at end of file