fix(metal): fix cluster token generation

This commit is contained in:
Khue Doan
2021-11-25 18:29:41 +07:00
parent ffb3a913d2
commit a2895c822d

View File

@ -33,7 +33,7 @@
run_once: yes
when: not k3s_token_file_stat.stat.exists
copy:
content: lookup('community.general.random_string', length=32)
content: "{{ lookup('community.general.random_string', length=32) }}"
dest: "{{ k3s_token_file }}"
- name: Get k3s token from the first node