Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

sestrella/ansible-role-cabal

Repository files navigation

Ansible Role: Cabal

Darwin Linux

Installs Haskell Cabal. Inspired by Jeff Geerling's Ruby role

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

workspace: "{{ ansible_user_dir }}"

The location where temporary files will be downloaded in preparation for Cabal installation.

cabal_version: 3.2.0.0

The version of Cabal that will be installed.

cabal_download_url: https://downloads.haskell.org/~cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz

The URL from which Cabal will be downloaded.

cabal_install_dir: /usr/local/bin

The installation directory where cabal is going to be copied.

Dependencies

None.

Example Playbook


- hosts: servers
  roles:
    - sestrella.cabal

License

MIT

Author Information

Sebastián Estrella