Migrate shell to FQCN.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# Some Linux distros come with meh DE's, this fixes that.
|
||||
|
||||
- name: Workstation | Linux | Software | GNOME | Check (Parrot OS Only)
|
||||
shell: which gdm3
|
||||
ansible.builtin.shell: which gdm3
|
||||
register: gnome_install
|
||||
when: ansible_distribution in ("Parrot OS")
|
||||
ignore_errors: true
|
||||
|
||||
- name: Workstation | Linux | Software | GNOME | Install
|
||||
package:
|
||||
name:
|
||||
- gnome
|
||||
name:
|
||||
- gnome
|
||||
- gdm3
|
||||
state: present
|
||||
when: gnome_install is defined and gnome_install.failed is defined and gnome_install.failed
|
||||
@@ -20,5 +20,5 @@
|
||||
when: gnome_install is defined and gnome_install.failed is defined and gnome_install.failed
|
||||
|
||||
- name: Workstation | Linux | Software | GNOME | Exiting
|
||||
shell: exit 1
|
||||
ansible.builtin.shell: exit 1
|
||||
when: gnome_install is defined and gnome_install.failed is defined and gnome_install.failed
|
||||
|
||||
Reference in New Issue
Block a user