mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-10 07:48:36 +07:00
fix(metal): fix cluster token generation
This commit is contained in:
@ -33,7 +33,7 @@
|
|||||||
run_once: yes
|
run_once: yes
|
||||||
when: not k3s_token_file_stat.stat.exists
|
when: not k3s_token_file_stat.stat.exists
|
||||||
copy:
|
copy:
|
||||||
content: lookup('community.general.random_string', length=32)
|
content: "{{ lookup('community.general.random_string', length=32) }}"
|
||||||
dest: "{{ k3s_token_file }}"
|
dest: "{{ k3s_token_file }}"
|
||||||
|
|
||||||
- name: Get k3s token from the first node
|
- name: Get k3s token from the first node
|
||||||
|
Reference in New Issue
Block a user