mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Fix adding token to existing cluster (#360)
Signed-off-by: James Otten <jamesotten1@gmail.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
INSTALL_K3S_EXEC: "agent"
|
INSTALL_K3S_EXEC: "agent"
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
||||||
- name: Add the token for joining the cluster to the environment
|
- name: Add the token for joining the cluster to the environment
|
||||||
no_log: true # avoid logging the server token
|
no_log: true # avoid logging the server token
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "{{ systemd_dir }}/k3s-agent.service.env"
|
path: "{{ systemd_dir }}/k3s-agent.service.env"
|
||||||
|
|||||||
Reference in New Issue
Block a user