Skip to content

Commit

Permalink
Remove irrelevant kubectl symlink
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Nov 8, 2024
1 parent 2d38507 commit 1fcf67f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions roles/k3s_server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,6 @@
when: user_kubectl
block:

- name: Create kubectl symlink
when: lookup('fileglob', '/usr/local/bin/kubectl', errors='warn') | length == 0
ansible.builtin.file:
src: /usr/local/bin/k3s
dest: /usr/local/bin/kubectl
state: link

- name: Create directory .kube
ansible.builtin.file:
path: ~{{ ansible_user }}/.kube
Expand Down

0 comments on commit 1fcf67f

Please sign in to comment.