File tree Expand file tree Collapse file tree
ansible/roles/dfe_developer/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 changed_when : false
8484 when :
8585 - ansible_distribution != 'MacOSX'
86- - not (dfe_force_gnome | default(false))
86+ - not (dfe_force_gnome | default(false) | bool )
8787
8888- name : Check if GNOME Shell is installed (fallback for headless/template builds)
8989 ansible.builtin.stat :
9090 path : /usr/bin/gnome-shell
9191 register : gnome_shell_installed
9292 when :
9393 - ansible_distribution != 'MacOSX'
94- - not (dfe_force_gnome | default(false))
94+ - not (dfe_force_gnome | default(false) | bool )
9595
9696- name : Set GNOME availability fact (Linux - running session)
9797 ansible.builtin.set_fact :
9898 dfe_has_gnome : " {{ gnome_running_check.rc == 0 }}"
9999 when :
100100 - ansible_distribution != 'MacOSX'
101- - not (dfe_force_gnome | default(false))
101+ - not (dfe_force_gnome | default(false) | bool )
102102 - gnome_running_check is defined
103103
104104- name : Set GNOME availability fact (Linux - forced for headless/template builds)
105105 ansible.builtin.set_fact :
106106 dfe_has_gnome : true
107107 when :
108108 - ansible_distribution != 'MacOSX'
109- - dfe_force_gnome | default(false)
109+ - dfe_force_gnome | default(false) | bool
110110
111111- name : Set GNOME availability fact (macOS - N/A)
112112 ansible.builtin.set_fact :
You can’t perform that action at this time.
0 commit comments