contrib/ansible: Allow master and node roles to co-exist

This commit is contained in:
Marc Tamsky 2019-05-30 01:33:41 -07:00
parent 9efbeb11e4
commit ab9127378e

View File

@ -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