Install Erlang, Elixir, Phoenix, and Nerves automatically to machines on macOS and Ubuntu by Ansible and Asdf

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • asdf

    Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

  • --- - block: - name: Install dependencies of asdf become: true apt: update_cache: yes cache_valid_time: 86400 # 1day name: - curl - git state: latest - name: Install asdf git: repo: https://github.com/asdf-vm/asdf.git dest: "{{ ansible_user_dir }}/.asdf" depth: 1 version: "{{ asdf | quote }}" register: result - name: asdf update shell: "bash -lc 'cd {{ ansible_user_dir }}/.asdf && git pull'" ignore_errors: yes when: result is failed - name: set env vars lineinfile: dest: "{{ shrc }}" state: present line: "{{ item.line }}" with_items: - line: ". $HOME/.asdf/completions/asdf.{{ sh }}" regexp: '^ \. \$HOME/\.asdf/completions/asdf\.{{ sh }}' - line: '. $HOME/.asdf/asdf.sh' regexp: '^ \. \$HOME/\.asdf/asdf\.sh' when: ansible_system == 'Linux' and (ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian') vars: - shrc: "{{ ansible_user_dir | quote }}/.{{ ansible_user_shell | basename | quote }}rc" - sh: "{{ ansible_user_shell | basename | quote }}"

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts