homeserver/friedhof/mgrote_k8s_misc/tasks/main.yml
Michael Grote e8d7c61ff2 Abbau k3s4 (#607)
Reviewed-on: #607
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-11-21 21:20:53 +01:00

8 lines
206 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"