Merge pull request #514 from tamsky/ansible/support-master+node

contrib/ansible: Allow 'server' and 'node' roles to co-exist on a single host
This commit is contained in:
Erik Wilson 2019-06-18 10:58:21 -07:00 committed by GitHub
commit 73b0e4c3dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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