break: don't append kubeconfig variable to bashrc

This commit is contained in:
Sebastian Mark 2023-07-29 08:59:13 +02:00
parent a4975b9380
commit 85fb45b690

View file

@ -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