--- - name: create autostart desktop file copy: dest: '{{ansible_env.HOME}}/.config/autostart/ulauncher.desktop' content: | [Desktop Entry] Name=Ulauncher Comment=Application launcher for Linux GenericName=Launcher Categories=GNOME;GTK;Utility; TryExec=/usr/bin/ulauncher Exec=env GDK_BACKEND=x11 /usr/bin/ulauncher --hide-window Icon=ulauncher Terminal=false Type=Application