1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etesync_dav.git synced 2024-08-16 10:09:54 +02:00
ansible_role_etesync_dav/tasks/download_etesync_dav.yml

21 lines
527 B
YAML
Raw Normal View History

2023-10-24 02:11:32 +02:00
---
- name: "Make sure etesync-dav directory exist"
become: true
ansible.builtin.file:
state: directory
2023-10-28 18:47:41 +02:00
path: "{{ etesync_dav__directory }}"
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 }}"
owner: 'root'
group: 'root'
2023-10-24 02:11:32 +02:00
mode: "0755"
notify: 'Run systemctl restart etesync-dav.service'