Compare commits

..

No commits in common. "b871f696f484c835ca9abe8968079b5b658354e7" and "4c7228d596cb50da3e3ac2ae1d57d64f62f6e865" have entirely different histories.

3 changed files with 12 additions and 23 deletions

View File

@ -64,14 +64,18 @@
warn: False warn: False
creates: "{{ ansible_env.HOME }}/.local/bin/kops" creates: "{{ ansible_env.HOME }}/.local/bin/kops"
- name: clone k9s git - name: install k9s-HEAD freebsd
ansible.builtin.git: when: ansible_facts['system']|lower == 'freebsd'
repo: 'https://github.com/derailed/k9s.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
dest: "{{ ansible_env.HOME }}/dev/k9s"
- name: build k9s-HEAD
ansible.builtin.shell: "cd ~/dev/k9s && gmake build && install -m 755 ./execs/k9s ~/.local/bin/k9s"
args: args:
warn: False
creates: "{{ ansible_env.HOME }}/.local/bin/k9s"
- name: install newest k9s linux
when: ansible_facts['system']|lower == 'linux'
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:
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
@ -109,8 +113,3 @@
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

View File

@ -54,7 +54,3 @@
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

View File

@ -1,11 +1,5 @@
--- ---
- name: clone neovim github repo - name: clone neovim github repo
ansible.builtin.git: ansible.builtin.shell: "cd ~/dev && git clone https://github.com/neovim/neovim.git && cd neovim && gmake && sudo gmake install"
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