ansible-role-cerebro/tasks/service.yml
2019-09-06 16:30:56 +02:00

17 lines
314 B
YAML

---
- name: copy service
template:
src: cerebro.service.j2
dest: /lib/systemd/system/cerebro.service
owner: root
group: root
mode: 0644
tags: cerebro
- name: enable and start service
systemd:
name: cerebro
state: started
enabled: true
daemon_reload: true
tags: cerebro