mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2026-10-23 03:22:03 +02:00
fix(roles): fix check mode on clean install (#547)
Signed-off-by: Ian Lewis <ian@ianlewis.org>
This commit is contained in:
1 parent
9cdd1dd47c
commit
35b8377f74
2 files changed
+7
-4
No files matched your search
@@ -100,6 +100,7 @@
|
||||
# install script leaves the service stopped (INSTALL_K3S_SKIP_START), so a plain
|
||||
# restart also covers the first install.
|
||||
- name: Enable and start K3s agent
|
||||
when: not ansible_check_mode
|
||||
ansible.builtin.service:
|
||||
name: k3s-agent
|
||||
state: restarted
|
||||
|
||||
Reference in new issue
Block a user