Compare commits
3 Commits
4c7228d596
...
b871f696f4
Author | SHA1 | Date |
---|---|---|
|
b871f696f4 | |
|
66ca5e8792 | |
|
157f363be7 |
|
@ -64,18 +64,14 @@
|
||||||
warn: False
|
warn: False
|
||||||
creates: "{{ ansible_env.HOME }}/.local/bin/kops"
|
creates: "{{ ansible_env.HOME }}/.local/bin/kops"
|
||||||
|
|
||||||
- name: install k9s-HEAD freebsd
|
- name: clone k9s git
|
||||||
when: ansible_facts['system']|lower == 'freebsd'
|
ansible.builtin.git:
|
||||||
shell: cd ~/dev && git clone https://github.com/derailed/k9s.git k9s && cd k9s && gmake build && install -m 755 ./execs/k9s ~/.local/bin/k9s && cd .. && rm -rf k9s
|
repo: 'https://github.com/derailed/k9s.git'
|
||||||
args:
|
dest: "{{ ansible_env.HOME }}/dev/k9s"
|
||||||
warn: False
|
|
||||||
creates: "{{ ansible_env.HOME }}/.local/bin/k9s"
|
|
||||||
|
|
||||||
- name: install newest k9s linux
|
- name: build k9s-HEAD
|
||||||
when: ansible_facts['system']|lower == 'linux'
|
ansible.builtin.shell: "cd ~/dev/k9s && gmake build && install -m 755 ./execs/k9s ~/.local/bin/k9s"
|
||||||
shell: curl -Lo ~/.local/bin/k9s $(curl -L https://api.github.com/repos/derailed/k9s/releases/latest | jq -r '.assets[] | select(.name == "k9s_Linux_x86_64.tar.gz") | .browser_download_url') && chmod 755 ~/.local/bin/k9s
|
|
||||||
args:
|
args:
|
||||||
warn: False
|
|
||||||
creates: "{{ ansible_env.HOME }}/.local/bin/k9s"
|
creates: "{{ ansible_env.HOME }}/.local/bin/k9s"
|
||||||
|
|
||||||
- name: install stern-HEAD freebsd
|
- name: install stern-HEAD freebsd
|
||||||
|
@ -113,3 +109,8 @@
|
||||||
dest: "{{ ansible_env.HOME }}/.bashrc.d/"
|
dest: "{{ ansible_env.HOME }}/.bashrc.d/"
|
||||||
mode: "0640"
|
mode: "0640"
|
||||||
|
|
||||||
|
- name: install google-cloud-sdk fedora
|
||||||
|
when: ansible_facts['system']|lower == 'fedora'
|
||||||
|
dnf:
|
||||||
|
name: google-cloud-sdk
|
||||||
|
state: present
|
||||||
|
|
|
@ -54,3 +54,7 @@
|
||||||
import_tasks: oil-shell.yml
|
import_tasks: oil-shell.yml
|
||||||
vars:
|
vars:
|
||||||
version: "0.8.9"
|
version: "0.8.9"
|
||||||
|
|
||||||
|
- name: Install neovim
|
||||||
|
import_tasks: neovim.yml
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
---
|
---
|
||||||
- name: clone neovim github repo
|
- name: clone neovim github repo
|
||||||
ansible.builtin.shell: "cd ~/dev && git clone https://github.com/neovim/neovim.git && cd neovim && gmake && sudo gmake install"
|
ansible.builtin.git:
|
||||||
|
repo: 'https://github.com/neovim/neovim.git'
|
||||||
|
dest: "{{ ansible_env.HOME }}/dev/neovim"
|
||||||
|
update: no
|
||||||
|
|
||||||
|
- name: build neovim
|
||||||
|
ansible.builtin.shell: "cd ~/dev/neovim && gmake && sudo gmake install"
|
||||||
args:
|
args:
|
||||||
creates: /usr/local/bin/nvim
|
creates: /usr/local/bin/nvim
|
||||||
|
|
Reference in New Issue