You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

48 lines
962B

  1. ---
  2. # packages setup
  3. - import_tasks: debian_repos.yaml
  4. when:
  5. - ansible_distribution == "Debian"
  6. - not ansible_lsb.id is defined or ansible_lsb.id != "Raspbian"
  7. - import_tasks: debian_packages.yaml
  8. when: ansible_distribution == "Debian"
  9. # user setup
  10. - import_tasks: root_user.yaml
  11. - import_tasks: ssh-agent.yaml
  12. # system setup
  13. - import_tasks: hostname.yaml
  14. when:
  15. - not ansible_bender is defined
  16. - not container_type | default('') == 'podman'
  17. - import_tasks: locales.yaml
  18. - import_tasks: timezone.yaml
  19. when: not ansible_bender is defined
  20. - import_tasks: keyboard_configuration.yaml
  21. when: not ansible_bender is defined
  22. - import_tasks: network.yaml
  23. - import_tasks: tweaks.yaml
  24. # shell setup
  25. - import_tasks: shells/fish.yaml
  26. tags:
  27. - fish
  28. - shells
  29. # - import_tasks: shells/xonsh.yaml
  30. # tags:
  31. # - xonsh
  32. # - shells
  33. - name: shell for root user
  34. user:
  35. name: root
  36. shell: "{{root_shell}}"
  37. tags:
  38. - shells