Fix GNOME Install For Ubuntu 20.04 (#6)

* If we're gonig to exit then we should be more sure about our messaging.

* Only have GIMP installed from Flatpak.

* Playbook is causing Ubuntu 20.04 to fail.

* Define gnome_install.failed since some Ansible versions are picky.

* Try again for mad non-Parrot versions of Ansible.

* Add debug.

* Still trying to make Ubuntu 20.04's Ansible happy.

* Fix typos.

* Ubuntu does not need to install Dash To Dock. Also ensure `make` is installed on other distros so that the project is compiled.

* Remove debug.
This commit is contained in:
2021-08-09 08:09:16 -05:00
committed by GitHub
parent 2383183164
commit 3dec7e7d82
3 changed files with 28 additions and 25 deletions

View File

@ -178,4 +178,5 @@
- vscode
- code
- '*libreoffice*'
- gimp
state: absent

View File

@ -12,18 +12,13 @@
- gnome
- gdm3
state: present
when: gnome_install is defined and gnome_install.failed
- name: Workstation | Linux | Software | GNOME | TEST
debug:
var: gnome_install
when: gnome_install is defined and gnome_install.failed
when: gnome_install is defined and gnome_install.failed is defined and gnome_install.failed
- 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.failed
msg: "You will need to run `dpkg-reconfigure gdm3` to ensure gdm3 is selected."
when: gnome_install is defined and gnome_install.failed is defined and gnome_install.failed
- name: Workstation | Linux | Software | GNOME | Exiting
shell: exit 1
when: gnome_install is defined and gnome_install.failed
when: gnome_install is defined and gnome_install.failed is defined and gnome_install.failed