From e9d5ac04a97c4173b2101a6f5a4ca486df0176b5 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sat, 26 Nov 2022 18:11:26 +0100 Subject: [PATCH] install asdf erlang and elixir plugins --- roles/system/tasks/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/roles/system/tasks/main.yml b/roles/system/tasks/main.yml index 1995301..9d3e613 100644 --- a/roles/system/tasks/main.yml +++ b/roles/system/tasks/main.yml @@ -16,6 +16,24 @@ - zsh - ripgrep - 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 become: true user: @@ -33,3 +51,11 @@ template: src: "{{ role_path }}/templates/.zshrc.j2" 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