blob: a3ed2a058de5202fb529ac78025d6c1156d44346 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
---
- 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/{{ stack_item }}"
dest: "$XDG_DATA_HOME/stack/{{ stack_item }}"
loop:
- config.yaml
- global-project/README.txt
- global-project/stack.yaml
loop_control:
loop_var: stack_item
|