51 lines
2.0 KiB
YAML
51 lines
2.0 KiB
YAML
|
---
|
||
|
- 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:
|
||
|
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
|
||
|
- name: build erlang 21.0
|
||
|
become: no
|
||
|
shell: kerl build 21.0 21.0
|
||
|
args:
|
||
|
creates: ~/.kerl/builds/21.0
|
||
|
- name: install erlang 21.0
|
||
|
become: no
|
||
|
shell: kerl install 21.0
|
||
|
args:
|
||
|
creates: ~/.kerl/installs/21.0
|
||
|
- 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
|
||
|
shell: . ~/bin/kerl.setup.bash && kiex install 1.7.4
|
||
|
args:
|
||
|
creates: ~/.kiex/elixirs/elixir-1.7.4
|