2020-08-01 18:33:52 +02:00
|
|
|
---
|
|
|
|
{%- from "dip/map.jinja" import dip with context %}
|
|
|
|
dip-archive-extract:
|
|
|
|
archive.extracted:
|
|
|
|
- name: {{ dip.release_dir }}/dip-{{ dip.version }}
|
|
|
|
- source: {{ dip.mirror }}/{{ dip.version }}/dip-{{ dip.version }}-{{ dip.os }}-{{ dip.arch }}.tar.gz
|
2020-09-12 17:41:35 +02:00
|
|
|
- skip_verify: true
|
|
|
|
- enforce_toplevel: false
|
2020-08-01 18:33:52 +02:00
|
|
|
- if_missing: {{ dip.release_dir }}/dip-{{ dip.version }}
|
|
|
|
- watch_in:
|
|
|
|
- service: dip-service
|
|
|
|
|
|
|
|
dip-binary-symlink:
|
|
|
|
file.symlink:
|
|
|
|
- name: {{ dip.install_dir }}/dip
|
|
|
|
- target: {{ dip.release_dir }}/dip-{{ dip.version }}
|
|
|
|
- require:
|
|
|
|
- archive: dip-archive-extract
|
|
|
|
- watch_in:
|
|
|
|
- service: dip-service
|