--- - name: Configure Raspberry Pi nodes hosts: os_raspbian tasks: - name: Configure default boot to console shell file: state: link src: "{{ global_systemd_preset_directory }}/multi-user.target" dest: "{{ global_systemd_configuration_directory }}/default.target" owner: root group: root - name: Remove raspian specific apt source file file: state: absent path: "{{ global_apt_sources_directory }}/raspi.list"