2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
{% from "coronafana/map.jinja" import coronafana with context %}
|
|
|
|
coronafana-archive-extract:
|
|
|
|
archive.extracted:
|
|
|
|
- name: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }}
|
|
|
|
- source: {{ coronafana.mirror }}/{{ coronafana.version }}/coronafana-{{ coronafana.version }}-{{ coronafana.os }}-{{ coronafana.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: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }}
|
|
|
|
|
|
|
|
coronafana-binary-symlink:
|
|
|
|
file.symlink:
|
|
|
|
- name: {{ coronafana.install_dir }}/coronafana
|
|
|
|
- target: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }}
|
|
|
|
- require:
|
|
|
|
- archive: coronafana-archive-extract
|