split into roles
This commit is contained in:
parent
4d072894ec
commit
74b67b7e27
17 changed files with 186 additions and 110 deletions
43
roles/asdf/tasks/main.yml
Normal file
43
roles/asdf/tasks/main.yml
Normal file
|
@ -0,0 +1,43 @@
|
|||
- name: Install asdf
|
||||
git:
|
||||
repo: https://github.com/asdf-vm/asdf.git
|
||||
dest: ~/.asdf
|
||||
- name: Install Erlang prerequisite APT packages
|
||||
become: true
|
||||
apt:
|
||||
state: present
|
||||
update_cache: true
|
||||
cache_valid_time: 86400 # One day
|
||||
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
|
||||
shell: asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
|
||||
args:
|
||||
creates: ~/.asdf/plugins/erlang
|
||||
- name: Install Elixir prerequisite APT packages
|
||||
become: true
|
||||
apt:
|
||||
state: present
|
||||
update_cache: true
|
||||
cache_valid_time: 86400 # One day
|
||||
pkg:
|
||||
- unzip
|
||||
- name: Install asdf Elixir plugin
|
||||
shell: asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
|
||||
args:
|
||||
creates: ~/.asdf/plugins/elixir
|
Reference in a new issue