diff --git a/contrib/ansible/roles/k3s/master/tasks/main.yml b/contrib/ansible/roles/k3s/master/tasks/main.yml index 95ac5cede2..7c2e7c4181 100644 --- a/contrib/ansible/roles/k3s/master/tasks/main.yml +++ b/contrib/ansible/roles/k3s/master/tasks/main.yml @@ -16,6 +16,10 @@ state: restarted enabled: yes +- name: Wait for node-token + wait_for: + path: /var/lib/rancher/k3s/server/node-token + - name: Register node-token file access mode stat: path: /var/lib/rancher/k3s/server