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

41 行
684B

  1. ---
  2. - name: fish package
  3. apt:
  4. pkg: fish
  5. - name: fish config directory
  6. file:
  7. path: /etc/fish/conf.d
  8. state: directory
  9. - name: fish config files
  10. copy:
  11. src: fish/global/
  12. dest: /etc/fish/conf.d/
  13. with_items:
  14. - fish_title
  15. - fish_prompt
  16. - fish_greeting
  17. - name: fish package
  18. package:
  19. name: fish
  20. when: not root_target_directory is defined
  21. # root user
  22. - name: fish root user config directory
  23. file:
  24. path: /root/.config/fish/conf.d/
  25. state: directory
  26. - name: fish root user config files
  27. copy:
  28. src: fish/root/
  29. dest: /root/.config/fish/conf.d/
  30. - name: fish shell for root user
  31. user:
  32. name: root
  33. shell: /usr/bin/fish