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

28 行
481B

  1. ---
  2. - name: fish package
  3. package:
  4. name: fish
  5. - name: fish config directory
  6. file:
  7. path: /root/.config/fish/conf.d/
  8. state: directory
  9. - name: fish config files
  10. template:
  11. src: "{{ item }}.fish.j2"
  12. dest: /root/.config/fish/conf.d/{{ item }}.fish
  13. with_items:
  14. - root-shell-aliases
  15. - name: fish shell
  16. user:
  17. name: root
  18. shell: /usr/bin/fish
  19. - name: fetch fish history
  20. fetch:
  21. src: /root/.local/share/fish/fish_history
  22. dest: host_files