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.

fish.yml 684B

12345678910111213141516171819202122232425262728293031323334353637383940
  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