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

6 年前
6 年前
6 年前
6 年前
6 年前
12345678910111213141516171819202122232425262728293031
  1. ---
  2. - name: fish package
  3. package:
  4. name: fish
  5. when: not root_target_directory is defined
  6. - name: fish config directory
  7. file:
  8. path: "{{ root_target_directory | default('') }}/root/.config/fish/conf.d/"
  9. state: directory
  10. - name: fish config files
  11. template:
  12. src: "{{ item }}.fish.j2"
  13. dest: "{{ root_target_directory | default('') }}/root/.config/fish/conf.d/{{ item }}.fish"
  14. with_items:
  15. - root-shell-aliases
  16. - name: fish shell
  17. user:
  18. name: root
  19. shell: /usr/bin/fish
  20. when: not root_target_directory is defined
  21. # - name: fetch fish history
  22. # fetch:
  23. # src: /root/.local/share/fish/fish_history
  24. # dest: host_files
  25. # when: not root_target_directory is defined
  26. # failed_when: false