Skip to content

Commit

Permalink
k9s - mv into ~/.local/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
shellshock1953 committed Oct 16, 2023
1 parent 5c3abce commit 71540aa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions defaults/main/k9s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ role_component:
path: /tmp/k9s
state: directory

- name: '[k9s] creating ~/.local/bin/'
file:
path: ~/.local/bin
state: directory

# Linux
- name: '[k9s] Download binary for Linux'
unarchive:
Expand All @@ -34,6 +39,13 @@ role_component:
environment:
PATH: /opt/homebrew/bin:$PATH
when: ansible_distribution == 'MacOSX'

- name: "[k9s] move k9s binary into ~/.local/bin"
copy:
src: /tmp/k9s/k9s
dest: ~/.local/bin/
remote_src: True

configs:
pre:
- name: '[k9s] config dir'
Expand Down

0 comments on commit 71540aa

Please sign in to comment.