infra/roles/k8s-node/tasks/main.yaml
2024-07-17 21:46:22 -07:00

11 lines
305 B
YAML

- name: Install packages required for longhorn
apt:
name: [open-iscsi, nfs-common, cryptsetup]
- name: template traefik-config.yaml
template:
src: traefik-config.yaml
dest: /var/lib/rancher/k3s/server/manifests/traefik-config.yaml
notify:
- restart k3s
when: k3s_role == "server"