From fe1c897347b4fe978fa54bb0dda795fec0f978e9 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 28 Oct 2023 18:47:41 +0200 Subject: [PATCH] Fix wrong directory path --- defaults/main.yml | 1 + tasks/download_etesync_dav.yml | 2 +- vars/main.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 0f7c85f..9472864 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,6 +1,7 @@ --- etesync_dav__version: 'latest' etesync_dav__executable: '/usr/local/bin/etesync-dav' +etesync_dav__directory: '/usr/local/bin/' etesync_dav__port: '37358' # should we do a version check? (recomended) diff --git a/tasks/download_etesync_dav.yml b/tasks/download_etesync_dav.yml index af22556..694dbe4 100644 --- a/tasks/download_etesync_dav.yml +++ b/tasks/download_etesync_dav.yml @@ -3,7 +3,7 @@ become: true ansible.builtin.file: state: directory - path: "{{ etesync_dav__executable }}" + path: "{{ etesync_dav__directory }}" mode: '0755' owner: 'root' group: 'root' diff --git a/vars/main.yml b/vars/main.yml index ece2320..5e6ccfc 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -2,5 +2,5 @@ etesync_dav__repo_api: 'https://api.github.com/repos/etesync/etesync-dav/releases/latest' # versionscheck -playbook_version_number: 16 +playbook_version_number: 17 playbook_version_path: 'role-l3d.etesync_dav.version'