From 1fcf67f30e049182672311750138104971b48d80 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Fri, 8 Nov 2024 10:36:56 -0800 Subject: [PATCH] Remove irrelevant kubectl symlink Signed-off-by: Derek Nola --- roles/k3s_server/tasks/main.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/k3s_server/tasks/main.yml b/roles/k3s_server/tasks/main.yml index 12131f2a..83311903 100644 --- a/roles/k3s_server/tasks/main.yml +++ b/roles/k3s_server/tasks/main.yml @@ -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