From ab9127378e9deb54acdb77a19194631f589af623 Mon Sep 17 00:00:00 2001 From: Marc Tamsky Date: Thu, 30 May 2019 01:33:41 -0700 Subject: [PATCH] contrib/ansible: Allow master and node roles to co-exist --- contrib/ansible/roles/k3s/node/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/ansible/roles/k3s/node/tasks/main.yml b/contrib/ansible/roles/k3s/node/tasks/main.yml index a88a9c1ed6..0ce8e08d0f 100644 --- a/contrib/ansible/roles/k3s/node/tasks/main.yml +++ b/contrib/ansible/roles/k3s/node/tasks/main.yml @@ -3,14 +3,14 @@ - name: Copy K3s service file template: src: "k3s.service.j2" - dest: "{{ systemd_dir }}/k3s.service" + dest: "{{ systemd_dir }}/k3s-node.service" owner: root group: root mode: 0755 - name: Enable and check K3s service systemd: - name: k3s + name: k3s-node daemon_reload: yes state: restarted enabled: yes