2023-10-24 02:11:32 +02:00
|
|
|
---
|
2023-10-26 01:23:02 +02:00
|
|
|
- name: "Make sure etesync-dav directory exist"
|
|
|
|
become: true
|
|
|
|
ansible.builtin.file:
|
|
|
|
state: directory
|
|
|
|
path: "{{ etesync_dav__executable }}"
|
|
|
|
mode: '0755'
|
|
|
|
owner: 'root'
|
|
|
|
group: 'root'
|
|
|
|
recurse: true
|
|
|
|
|
2023-10-24 02:11:32 +02:00
|
|
|
- name: "Download etesync-dav version v{{ etesync_dav__version_target }}"
|
|
|
|
become: true
|
|
|
|
ansible.builtin.get_url:
|
|
|
|
url: "{{ etesync_dav__dl_url }}"
|
|
|
|
dest: "{{ etesync_dav__executable }}"
|
2023-10-26 01:23:02 +02:00
|
|
|
owner: 'root'
|
|
|
|
group: 'root'
|
2023-10-24 02:11:32 +02:00
|
|
|
mode: "0755"
|
|
|
|
notify: 'Run systemctl restart etesync-dav.service'
|