mirror of
https://github.com/roles-ansible/ansible_role_etesync_dav.git
synced 2024-08-16 10:09:54 +02:00
20 lines
530 B
YAML
20 lines
530 B
YAML
---
|
|
- name: Generate etesync-dav.service
|
|
become: true
|
|
ansible.builtin.template:
|
|
src: 'templates/etesync-dav.service.j2'
|
|
dest: '/usr/lib/systemd/system/etesync-dav.service'
|
|
mode: '0644'
|
|
owner: 'root'
|
|
group: 'root'
|
|
notify:
|
|
- 'Run systemctl restart etesync-dav.service'
|
|
- 'Run systemctl enable etesync-dav.service'
|
|
|
|
- name: Make sure etesync-dav.service started
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: 'etesync-dav.service'
|
|
enabled: true
|
|
state: 'started'
|
|
daemon_reload: true
|