updated rclone state
This commit is contained in:
parent
e17603c060
commit
e87b286f74
@ -1,13 +1,12 @@
|
|||||||
---
|
---
|
||||||
{%- from "rclone/map.jinja" import rclone with context %}
|
{%- from "rclone/map.jinja" import rclone with context %}
|
||||||
{%- if not salt['file.file_exists']( rclone.install_dir +"/rclone-" + rclone.version) %}
|
|
||||||
rclone-archive-extract:
|
rclone-archive-extract:
|
||||||
archive.extracted:
|
archive.extracted:
|
||||||
- name: {{ rclone.release_dir }}
|
- name: {{ rclone.release_dir }}
|
||||||
- source: {{ rclone.mirror }}/{{ rclone.version }}/rclone-{{ rclone.version }}-{{ rclone.os }}-{{ rclone.arch }}.zip
|
- source: {{ rclone.mirror }}/{{ rclone.version }}/rclone-{{ rclone.version }}-{{ rclone.os }}-{{ rclone.arch }}.zip
|
||||||
- skip_verify: true
|
- skip_verify: true
|
||||||
- enforce_toplevel: false
|
- 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:
|
rclone-binary-symlink:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
@ -16,4 +15,3 @@ rclone-binary-symlink:
|
|||||||
- force: true
|
- force: true
|
||||||
- require:
|
- require:
|
||||||
- archive: rclone-archive-extract
|
- archive: rclone-archive-extract
|
||||||
{%- endif %}
|
|
Loading…
Reference in New Issue
Block a user