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
|
name: k3s
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
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
|
- name: Get kubeconfig
|
||||||
ansible.builtin.fetch:
|
ansible.builtin.fetch:
|
||||||
src: /etc/rancher/k3s/k3s.yaml
|
src: /etc/rancher/k3s/k3s.yaml
|
||||||
|
|
Loading…
Reference in a new issue