- name: set up keyboard controls become: true ansible.builtin.copy: dest: /etc/default/keyboard owner: root group: root mode: 0644 content: | # KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. # managed by ansible XKBMODEL="pc105" XKBLAYOUT="us" XKBVARIANT="" XKBOPTIONS="ctrl:swapcaps,compose:ralt" BACKSPACE="guess" - name: enable passwordless sudo for desktop users become: true ansible.builtin.copy: src: "{{ role_path }}/files/sudoers" dest: /etc/sudoers mode: 0440 owner: root group: root - name: set up common desktop tools become: true ansible.builtin.apt: name={{ item }} state=present with_items: - acpitool - emacs - mate-terminal - vim-gtk - name: set up desktop environments become: true ansible.builtin.apt: name={{ item }} state=present with_items: - i3 - i3lock - stumpwm - name: install StumpWM gnome session become: true ansible.builtin.copy: src: "{{ role_path }}/files/stumpwm-gnome.desktop" dest: /usr/share/xsessions/stumpwm-gnome.desktop mode: 0644 owner: root group: root - name: set up xprogs become: true ansible.builtin.apt: name={{ item }} state=present with_items: - arandr - evince - feh - firefox - gparted - scrot - thunar - thunar-archive-plugin - thunar-font-manager - thunar-gtkhash - thunar-vcs-plugin - thunar-volman - vlc - xfce4-places-plugin