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.

28 lines
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