summaryrefslogblamecommitdiff
path: root/roles/programming/haskell/tasks/main.yml
blob: 309d9e2bb29da5996978d93b4182d3a83538804c (plain) (tree)
1
2
3
4
5
6
7
8
   






                                           




                          
       

                                           



                               
---
- name: Config dirs
  file:
    state: directory
    path: "{{ item }}"
  loop:
    - "$HOME/.ghc"
    - "$XDG_DATA_HOME/stack/global-project"
- name: GHC config file
  copy:
    src: ghci.conf
    dest: $HOME/.ghc/
- name: Stack config files
  copy:
    src: "stack/{{ item }}"
    dest: "$XDG_DATA_HOME/stack/{{ item }}"
  loop:
    - config.yaml
    - global-project/README.txt
    - global-project/stack.yaml