From e87b286f74d21605348757f9e3c12463fee0c7aa Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 2 Jan 2021 18:08:18 +0100 Subject: [PATCH] updated rclone state --- states/rclone/install.sls | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/states/rclone/install.sls b/states/rclone/install.sls index 629f771..2e26015 100644 --- a/states/rclone/install.sls +++ b/states/rclone/install.sls @@ -1,13 +1,12 @@ --- {%- from "rclone/map.jinja" import rclone with context %} -{%- if not salt['file.file_exists']( rclone.install_dir +"/rclone-" + rclone.version) %} rclone-archive-extract: archive.extracted: - name: {{ rclone.release_dir }} - source: {{ rclone.mirror }}/{{ rclone.version }}/rclone-{{ rclone.version }}-{{ rclone.os }}-{{ rclone.arch }}.zip - skip_verify: true - enforce_toplevel: false - - if_missing: {{ rclone.release_dir }}/rclone + - if_missing: {{ rclone.release_dir }}/rclone-{{ rclone.version }}-{{ rclone.os }}-{{ rclone.arch }}/rclone rclone-binary-symlink: file.symlink: @@ -16,4 +15,3 @@ rclone-binary-symlink: - force: true - require: - archive: rclone-archive-extract -{%- endif %} \ No newline at end of file