chore: rework directory structure
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
1fbdeb0d21
commit
01225fd44d
169 changed files with 1410 additions and 1690 deletions
roles/user/lang/haskell/tasks
6
roles/user/lang/haskell/tasks/install.yml
Normal file
6
roles/user/lang/haskell/tasks/install.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: Install GHC
|
||||
ansible.builtin.package:
|
||||
name: ghc
|
||||
state: present
|
||||
become: true
|
16
roles/user/lang/haskell/tasks/main.yml
Normal file
16
roles/user/lang/haskell/tasks/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- name: Packages
|
||||
ansible.builtin.include_tasks: install.yml
|
||||
tags: install
|
||||
|
||||
- name: Create directory for GHC config
|
||||
ansible.builtin.file:
|
||||
path: ~/.ghc
|
||||
state: directory
|
||||
mode: 0740
|
||||
|
||||
- name: Install ghci.conf
|
||||
ansible.builtin.copy:
|
||||
src: files/ghci.conf
|
||||
dest: ~/.ghc/ghci.conf
|
||||
mode: 0640
|
Loading…
Add table
Add a link
Reference in a new issue