您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

47 行
926B

  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