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

Merge pull request #3 from roles-ansible/d

Create directory if needed
This commit is contained in:
L3D 2023-10-26 11:16:30 +02:00 committed by GitHub
commit 4b399dc534
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,20 @@
---
- 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
- 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
owner: 'root'
group: 'root'
mode: "0755"
notify: 'Run systemctl restart etesync-dav.service'