# This task list sets up the window manager----name:Create autologin directorybecome:yesbecome_user:rootansible.builtin.file:state:directorypath:'/etc/systemd/system/getty@tty1.service.d/'mode:'0755'owner:rootgroup:root-name:Autologinbecome:yesbecome_user:rootansible.builtin.copy:src:agettyAutologindest:'/etc/systemd/system/getty@tty1.service.d/override.conf'owner:rootgroup:rootmode:'0644'-name:xinitrcansible.builtin.copy:dest:~/.xinitrccontent:'execopenbox-session'mode:0644-name:Create autologin directoryansible.builtin.file:state:directorypath:'~/.config/openbox'mode:'0755'-name:Setup openbox autostartansible.builtin.template:src:openboxAutocomplete.j2dest:~/.config/openbox/autostartmode:0644-name:Autostart X on tty1 on odroidansible.builtin.lineinfile:path:'~/.bashrc'state:presentline:'[[-z$DISPLAY&&$XDG_VTNR-eq1]]&&xinit'mode:0644