Merge pull request #612 from pieterv-icloud-com/waitfor-node-token

Add wait for node-token file
This commit is contained in:
Erik Wilson 2019-07-08 08:09:01 -07:00 committed by GitHub
commit b8bf3c418c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,10 @@
state: restarted state: restarted
enabled: yes enabled: yes
- name: Wait for node-token
wait_for:
path: /var/lib/rancher/k3s/server/node-token
- name: Register node-token file access mode - name: Register node-token file access mode
stat: stat:
path: /var/lib/rancher/k3s/server path: /var/lib/rancher/k3s/server