install asdf erlang and elixir plugins

This commit is contained in:
Pim Kunis 2022-11-26 18:11:26 +01:00
parent 4a982c060c
commit e9d5ac04a9

View file

@ -16,6 +16,24 @@
- zsh - zsh
- ripgrep - ripgrep
- curl - curl
- unzip
# Erlang stuff: https://github.com/asdf-vm/asdf-erlang#before-asdf-install
- 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: Set default shell to zsh - name: Set default shell to zsh
become: true become: true
user: user:
@ -33,3 +51,11 @@
template: template:
src: "{{ role_path }}/templates/.zshrc.j2" src: "{{ role_path }}/templates/.zshrc.j2"
dest: ~/.zshrc dest: ~/.zshrc
- name: Install asdf Erlang plugin
shell: asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
args:
creates: ~/.asdf/plugins/erlang
- name: Install asdf Elixir plugin
shell: asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
args:
creates: ~/.asdf/plugins/elixir