We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d98982 commit bc03d1cCopy full SHA for bc03d1c
roles/k3s_agent/tasks/main.yml
@@ -35,13 +35,13 @@
35
INSTALL_K3S_EXEC: "agent"
36
changed_when: true
37
38
- - name: Add the token for joining the cluster to the environment
39
- no_log: true # avoid logging the server token
40
- ansible.builtin.lineinfile:
41
- path: "{{ systemd_dir }}/k3s-agent.service.env"
42
- line: "{{ item }}"
43
- with_items:
44
- - "K3S_TOKEN={{ token }}"
+- name: Add the token for joining the cluster to the environment
+ no_log: true # avoid logging the server token
+ ansible.builtin.lineinfile:
+ path: "{{ systemd_dir }}/k3s-agent.service.env"
+ line: "{{ item }}"
+ with_items:
+ - "K3S_TOKEN={{ token }}"
45
46
- name: Copy K3s service file
47
register: k3s_agent_service
0 commit comments