--- - import_playbook: LinuxCLI.yaml - import_playbook: UnixGUI.yaml - hosts: localhost roles: - role: cider - role: gnome-tweaks when: "'GNOME' in ansible_env.XDG_CURRENT_DESKTOP and" - role: kitty - role: xremap when: > 'GNOME' in ansible_env.XDG_CURRENT_DESKTOP and ansible_env.XDG_SESSION_TYPE == 'wayland' and ( ansible_os_family == "RedHat" or ansible_os_family == "Debian" )