This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/asdf/tasks/main.yml

39 lines
1,002 B
YAML
Raw Normal View History

2022-12-02 19:10:38 +00:00
- name: Install asdf
git:
repo: https://github.com/asdf-vm/asdf.git
dest: ~/.asdf
- name: Install Erlang prerequisite APT packages
become: true
apt:
pkg:
- build-essential
- autoconf
- m4
- libncurses5-dev
- libwxgtk3.0-gtk3-dev
- libwxgtk-webview3.0-gtk3-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- libpng-dev
- libssh-dev
- unixodbc-dev
- xsltproc
- fop
- libxml2-utils
- libncurses-dev
- openjdk-11-jdk
- name: Install asdf Erlang plugin
2022-12-02 20:16:45 +00:00
shell:
2022-12-02 20:21:32 +00:00
cmd: "~/.asdf/bin/asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git"
2022-12-02 19:10:38 +00:00
creates: ~/.asdf/plugins/erlang
2022-12-02 20:16:45 +00:00
executable: /usr/bin/zsh
2022-12-02 19:10:38 +00:00
- name: Install Elixir prerequisite APT packages
become: true
apt:
2022-12-19 22:27:26 +00:00
name: unzip
2022-12-02 19:10:38 +00:00
- name: Install asdf Elixir plugin
2022-12-02 20:16:45 +00:00
shell:
2022-12-02 20:21:32 +00:00
cmd: "~/.asdf/bin/asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git"
2022-12-02 19:10:38 +00:00
creates: ~/.asdf/plugins/elixir
2022-12-02 20:16:45 +00:00
executable: /usr/bin/zsh