--- # packages setup - import_tasks: debian_repos.yaml when: - ansible_distribution == "Debian" - not ansible_lsb.id is defined or ansible_lsb.id != "Raspbian" - import_tasks: debian_packages.yaml when: ansible_distribution == "Debian" # user setup - import_tasks: root_user.yaml - import_tasks: ssh-agent.yaml # system setup - import_tasks: hostname.yaml when: - not ansible_bender is defined - not container_type | default('') == 'podman' - import_tasks: locales.yaml - import_tasks: timezone.yaml when: not ansible_bender is defined - import_tasks: keyboard_configuration.yaml when: not ansible_bender is defined - import_tasks: network.yaml - import_tasks: tweaks.yaml # shell setup - import_tasks: shells/fish.yaml tags: - fish - shells - import_tasks: shells/xonsh.yaml tags: - xonsh - shells - name: shell for root user user: name: root shell: "{{root_shell}}" tags: - shells