52 lines
2.0 KiB
YAML
52 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.13.0/powerline-go-linux-amd64 && install -m 755 /tmp/powerline-go /usr/local/bin/powerline-go-1.13.0 && rm -f /tmp/powerline-go && ln -sf /usr/local/bin/powerline-go-1.13.0 /usr/local/bin/powerline-go
|
|
args:
|
|
warn: False
|
|
creates: /usr/local/bin/powerline-go-1.13.0
|
|
- 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 22.0
|
|
become: no
|
|
shell: kerl build 22.0 22.0
|
|
args:
|
|
creates: ~/.kerl/builds/22.0
|
|
- name: install erlang 22.0
|
|
become: no
|
|
shell: kerl install 22.0
|
|
args:
|
|
creates: ~/.kerl/installs/22.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.9.0
|
|
args:
|
|
creates: ~/.kiex/elixirs/elixir-1.9.0
|