mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Createsymlinks for kubectl and crictl
This commit is contained in:
parent
34fc4d0336
commit
db5f6c6e5c
@ -62,3 +62,15 @@
|
||||
path: /home/{{ ansible_user }}/.kube/config
|
||||
regexp: 'https://localhost:6443'
|
||||
replace: 'https://{{master_ip}}:6443'
|
||||
|
||||
- name: Create kubectl symlink
|
||||
file:
|
||||
src: /usr/local/bin/k3s
|
||||
dest: /usr/local/bin/kubectl
|
||||
state: link
|
||||
|
||||
- name: Create crictl symlink
|
||||
file:
|
||||
src: /usr/local/bin/k3s
|
||||
dest: /usr/local/bin/crictl
|
||||
state: link
|
||||
|
Loading…
Reference in New Issue
Block a user