homeserver/roles/mgrote.k8s_misc/tasks/main.yml
mg 135bd53414 k3s - Basics (#423)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #423
2022-11-04 20:58:37 +01:00

7 lines
218 B
YAML

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