2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
{%- from "fuelprices/map.jinja" import fuelprices with context %}
|
|
|
|
fuelprices-archive-extract:
|
|
|
|
archive.extracted:
|
|
|
|
- name: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }}
|
|
|
|
- source: {{ fuelprices.mirror }}/{{ fuelprices.version }}/fuelprices-{{ fuelprices.version }}-{{ fuelprices.os }}-{{ fuelprices.arch }}.tar.gz
|
2020-09-12 17:41:35 +02:00
|
|
|
- skip_verify: true
|
|
|
|
- enforce_toplevel: false
|
2020-07-10 00:58:55 +02:00
|
|
|
- if_missing: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }}
|
|
|
|
|
|
|
|
fuelprices-binary-symlink:
|
|
|
|
file.symlink:
|
|
|
|
- name: {{ fuelprices.install_dir }}/fuelprices
|
|
|
|
- target: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }}
|
|
|
|
- require:
|
2021-08-19 21:15:24 +02:00
|
|
|
- archive: fuelprices-archive-extract
|