infra/roles/k8s-node/tasks/main.yaml

12 lines
305 B
YAML
Raw Normal View History

2024-07-18 04:46:22 +00:00
- 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"