--- # Drops a HelmChart CR into k3s's auto-deploying manifests directory on the # control-plane node; k3s's bundled helm-controller reconciles it, the same # mechanism it uses to install its own bundled Traefik and ServiceLB. See # templates/kube-prometheus-stack.helmchart.yaml.j2 for why this needs no # helm binary or extra Ansible collection, and README.md "Metrics # (Prometheus)" for how to point OpenLens at the result. - name: Deploy the kube-prometheus-stack HelmChart manifest ansible.builtin.template: src: kube-prometheus-stack.helmchart.yaml.j2 dest: /var/lib/rancher/k3s/server/manifests/kube-prometheus-stack.yaml owner: root group: root mode: "0644" become: true