1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etebase.git synced 2024-08-16 10:19:52 +02:00
ansible_role_etebase/tasks/systemd.yml
2022-11-12 18:32:49 +01:00

17 lines
392 B
YAML

---
- name: "Setup systemd service"
become: true
ansible.builtin.template:
src: 'templates/etebase.service.j2'
dest: /lib/systemd/system/etebase.service
owner: root
group: root
mode: 0644
notify:
- "Systemctl restart etebase.service"
- "Systemctl restart webserver"
- name: "Reload systemd"
become: true
ansible.builtin.systemd:
daemon_reload: true