2019-05-30 09:53:43 -04:00
|
|
|
---
|
|
|
|
- name: install apt applications
|
|
|
|
apt:
|
|
|
|
name: jq,vim,emacs,curl,htop,tmux,git,openvpn,build-essential,libssl-dev,libncurses5-dev
|
|
|
|
state: present
|
|
|
|
- name: install micro
|
|
|
|
shell: curl -sLo /tmp/micro.tar.gz https://github.com/zyedidia/micro/releases/download/v1.4.1/micro-1.4.1-linux64.tar.gz && mkdir -p /tmp/micro && tar xzf /tmp/micro.tar.gz -C /tmp/micro && install -m 755 /tmp/micro/micro-1.4.1/micro /usr/local/bin/micro-1.4.1 && rm -rf /tmp/micro* && ln -sf /usr/local/bin/micro-1.4.1 /usr/local/bin/micro
|
|
|
|
args:
|
|
|
|
warn: False
|
|
|
|
creates: /usr/local/bin/micro-1.4.1
|
|
|
|
- name: install powerline-go
|
|
|
|
shell: curl -sLo /tmp/powerline-go https://github.com/justjanne/powerline-go/releases/download/v1.12.1/powerline-go-linux-amd64 && install -m 755 /tmp/powerline-go /usr/local/bin/powerline-go-1.12.1 && rm -f /tmp/powerline-go && ln -sf /usr/local/bin/powerline-go-1.12.1 /usr/local/bin/powerline-go
|
|
|
|
args:
|
2019-06-26 12:34:24 -04:00
|
|
|
warn: False
|
2019-05-30 09:53:43 -04:00
|
|
|
creates: /usr/local/bin/powerline-go-1.12.1
|
|
|
|
- name: install rustup
|
|
|
|
become: no
|
|
|
|
shell: curl -o t.sh https://sh.rustup.rs -sSf && chmod 700 t.sh && ./t.sh --no-modify-path --verbose -y --default-toolchain stable && rm -f t.sh
|
|
|
|
args:
|
|
|
|
creates: ~/.cargo/bin/rustup
|
|
|
|
- name: install kerl
|
|
|
|
shell: curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl && install -m 755 kerl /usr/local/bin/kerl && rm -f kerl
|
|
|
|
args:
|
|
|
|
warn: False
|
|
|
|
creates: /usr/local/bin/kerl
|
|
|
|
- name: update kerl releases
|
|
|
|
become: no
|
|
|
|
shell: kerl update releases
|
|
|
|
args:
|
|
|
|
creates: ~/.kerl/otp_releases
|
2019-06-26 12:34:24 -04:00
|
|
|
- name: build erlang 22.0
|
2019-05-30 09:53:43 -04:00
|
|
|
become: no
|
2019-06-26 12:34:24 -04:00
|
|
|
shell: kerl build 22.0 22.0
|
2019-05-30 09:53:43 -04:00
|
|
|
args:
|
2019-06-26 12:34:24 -04:00
|
|
|
creates: ~/.kerl/builds/22.0
|
|
|
|
- name: install erlang 22.0
|
2019-05-30 09:53:43 -04:00
|
|
|
become: no
|
2019-06-26 12:34:24 -04:00
|
|
|
shell: kerl install 22.0
|
2019-05-30 09:53:43 -04:00
|
|
|
args:
|
2019-06-26 12:34:24 -04:00
|
|
|
creates: ~/.kerl/installs/22.0
|
2019-05-30 09:53:43 -04:00
|
|
|
- name: install kiex
|
|
|
|
become: no
|
|
|
|
shell: curl -sSL https://raw.githubusercontent.com/taylor/kiex/master/install | bash -s
|
|
|
|
args:
|
|
|
|
warn: False
|
|
|
|
creates: ~/.kiex/bin/kiex
|
|
|
|
- name: install elixir
|
|
|
|
become: no
|
2019-06-26 12:34:24 -04:00
|
|
|
shell: . ~/bin/kerl.setup.bash && kiex install 1.9.0
|
2019-05-30 09:53:43 -04:00
|
|
|
args:
|
2019-06-26 12:34:24 -04:00
|
|
|
creates: ~/.kiex/elixirs/elixir-1.9.0
|