--- - hosts: hobbes.n39.eu become: true vars: ansible_python_interpreter: /usr/bin/python3 roles: tasks: - name: Install packages needed for the system # This is a list of all packages, # unless they are installed by a specific role ansible.builtin.apt: state: present name: # This is needed for the user-executed tasks - acl # Regular packages - rng-tools - name: Remove the screensavers ansible.builtin.apt: state: absent name: - xscreensaver - name: Set MAC address for proper DHCP recognition # Uses mac variable from inventory ansible.builtin.template: src: templates/network-interfaces-dhcp-mac.j2 dest: /etc/network/interfaces.d/hobbes-mac owner: root group: root mode: '0644' - name: Disable IPv6 # Because it is not working.... ansible.builtin.copy: src: files/sysctl-no-ipv6.conf dest: /etc/sysctl.d/99-systcl-no-ipv6.conf owner: root group: root mode: '0644' ### Kiosk setup - name: Ensure kiosk user is there ansible.builtin.user: name: "{{ kiosk_user }}" groups: audio,plugdev,input,netdev append: yes handlers: