summaryrefslogtreecommitdiff
path: root/roles/programming/haskell/tasks/main.yml
blob: 309d9e2bb29da5996978d93b4182d3a83538804c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
- 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