This role installs Ubuntu Desktop with configuration amenable to use with GPU-enabled cloud instances.
Features:
- install Ubuntu Desktop
- install OpenGL
- disable Wayland protocol (needed by NICE-DCV)
- install x11-video-dummy
- install Xronos desktop background
Provisioning host:
- ansible 2.15 or later
Remote hose:
- Ubuntu 22.04 or 24.04
Add this role to your Ansible playbook file.
- name: install ubuntu desktop
role: xronos_ubuntu_desktop_ansibleubuntu_desktop_version: Version number of theubuntu-desktoppackage to install. Default is empty (latest).ubuntu_desktop_reinstall: Always verify the complete desktop metapackage is installed. Set tofalseto install the metapackage only once, preventing reinstallation of the metapackage if any of its dependencies have been removed. Default istrue, ensuring the complete metepackage is installed each time this task is run.
ubuntu_desktop_disable_wayland: Disable Wayland. Default isfalse.ubuntu_desktop_configure_x11_opengl: Install and configure OpenGL. Default istrue.ubuntu_desktop_configure_x11_dummy: Install and configure x11 video dummy. Default isfalse.
ubuntu_desktop_configure_wallpaper: configure Xronos wallpaper and lock screen. Default istrue.ubuntu_disable_gnome_initial_setup: disable Gnome initial setup dialog. Default istrue.