mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-26 17:28:44 +00:00
20 lines
581 B
YAML
20 lines
581 B
YAML
|
|
- name: Download ghcup bootstrap script
|
||
|
|
ansible.builtin.uri:
|
||
|
|
url:
|
||
|
|
return_content: yes
|
||
|
|
register: ghcup_bootstrap
|
||
|
|
|
||
|
|
- name: Install ghcup, stack, lsp server
|
||
|
|
ansible.builtin.shell:
|
||
|
|
cmd: sh
|
||
|
|
stdin: {{ ghcup_bootstrap.content }}
|
||
|
|
environment:
|
||
|
|
SHELL: /usr/bin/fish # TODO: detect fish install ??
|
||
|
|
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
||
|
|
BOOTSTRAP_HASKELL_GHC_VERSION: latest
|
||
|
|
BOOTSTRAP_HASKELL_CABAL_VERSION: latest
|
||
|
|
BOOTSTRAP_HASKELL_INSTALL_STACK: 1
|
||
|
|
BOOTSTRAP_HASKELL_INSTALL_HLS: 1
|
||
|
|
BOOTSTRAP_HASKELL_ADJUST_BASHRC: P
|
||
|
|
|