refactor(k3s): manage token securely and install guest agent

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-07-13 02:15:01 +02:00
parent 97a5d6c41d
commit 9cce71f73b
7 changed files with 48 additions and 36 deletions

View File

@@ -11,7 +11,7 @@
dest: /tmp/k3s_install.sh
mode: "0755"
- name: Install K3s on the secondary servers
- name: Install K3s on agent
when: not k3s_status.stat.exists
ansible.builtin.command: |
/tmp/k3s_install.sh