diff --git a/ansible/roles/rad_setup_instructlab/tasks/50-dev-tools-setup.yml b/ansible/roles/rad_setup_instructlab/tasks/50-dev-tools-setup.yml index 9d2eeba1bd3..24caa268edf 100644 --- a/ansible/roles/rad_setup_instructlab/tasks/50-dev-tools-setup.yml +++ b/ansible/roles/rad_setup_instructlab/tasks/50-dev-tools-setup.yml @@ -149,8 +149,8 @@ - name: Update the desktop database to make the new shortcut visible shell: "sudo gtk-update-icon-cache -f -t /usr/share/icons/hicolor" - - name: reboot the VM - shell: "sudo reboot" + - name: Logout to refresh the shortcuts + shell: "exec logout" become: true become_user: "{{ setup_instructlab_user }}"