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.

4 年之前
4 年之前
2 年之前
2 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. # shell setup
  24. - import_tasks: shells/fish.yaml
  25. tags:
  26. - fish
  27. - shells
  28. - import_tasks: shells/xonsh.yaml
  29. tags:
  30. - xonsh
  31. - shells
  32. - name: shell for root user
  33. user:
  34. name: root
  35. shell: "{{root_shell}}"
  36. tags:
  37. - shells