break: don't append kubeconfig variable to bashrc
This commit is contained in:
parent
a4975b9380
commit
85fb45b690
1 changed files with 0 additions and 5 deletions
|
@ -20,11 +20,6 @@
|
|||
name: k3s
|
||||
state: started
|
||||
enabled: true
|
||||
- name: Add kubeconfig variable to bashrc
|
||||
ansible.builtin.lineinfile:
|
||||
path: ~/.bashrc
|
||||
line: "export KUBECONFIG=/etc/rancher/k3s/k3s.yaml"
|
||||
insertafter: EOF
|
||||
- name: Get kubeconfig
|
||||
ansible.builtin.fetch:
|
||||
src: /etc/rancher/k3s/k3s.yaml
|
||||
|
|
Loading…
Reference in a new issue