mirror of
https://github.com/roles-ansible/ansible_role_etebase.git
synced 2024-08-16 10:19:52 +02:00
17 lines
392 B
YAML
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
|