homeserver/roles/mgrote_k8s_misc/tasks/main.yml

8 lines
206 B
YAML
Raw Normal View History

---
- name: set $KUBECONFIG for root
ansible.builtin.blockinfile:
path: /root/.bashrc
block: |
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
marker: "# {mark} ANSIBLE MANAGED BLOCK - K3S"