Initial commit erasing history
This commit is contained in:
parent
e04f86fd9a
commit
7d8751ffe8
712 changed files with 7348 additions and 0 deletions
25
roles/winroom/tasks/haskell.yml
Normal file
25
roles/winroom/tasks/haskell.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
- name: Check Haskell install status
|
||||
win_stat:
|
||||
path: C:\ghcup\bin\ghc.exe
|
||||
register: file
|
||||
|
||||
- when: not file.stat.exists
|
||||
block:
|
||||
- name: Download Haskell
|
||||
win_get_url:
|
||||
url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1"
|
||||
dest: 'C:\'
|
||||
register: download
|
||||
|
||||
- name: Install Haskell
|
||||
win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
|
||||
|
||||
- name: Add Haskell to PATH
|
||||
win_path:
|
||||
elements:
|
||||
C:\ghcup\bin
|
||||
|
||||
- name: Remove temporary files
|
||||
win_file:
|
||||
path: "{{ download.dest }}"
|
||||
state: absent
|
Loading…
Add table
Add a link
Reference in a new issue