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