2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
{%- from "qrz/map.jinja" import qrz with context %}
|
|
|
|
qrz-archive-extract:
|
|
|
|
archive.extracted:
|
|
|
|
- name: {{ qrz.release_dir }}/qrz-{{ qrz.version }}
|
|
|
|
- source: {{ qrz.mirror }}/{{ qrz.version }}/qrz-{{ qrz.version }}-{{ qrz.os }}-{{ qrz.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: {{ qrz.release_dir }}/qrz-{{ qrz.version }}
|
|
|
|
- watch_in:
|
|
|
|
- service: qrz-service
|
|
|
|
|
|
|
|
qrz-binary-symlink:
|
|
|
|
file.symlink:
|
|
|
|
- name: {{ qrz.install_dir }}/qrz
|
|
|
|
- target: {{ qrz.release_dir }}/qrz-{{ qrz.version }}
|
|
|
|
- require:
|
|
|
|
- archive: qrz-archive-extract
|
|
|
|
- watch_in:
|
2021-08-19 21:15:24 +02:00
|
|
|
- service: qrz-service
|
2021-11-14 13:37:49 +01:00
|
|
|
|
|
|
|
qrz-cleanup:
|
|
|
|
software.cleanup:
|
|
|
|
- name: qrz
|
|
|
|
- path: {{ qrz.release_dir }}
|
2021-12-29 15:45:48 +01:00
|
|
|
- version: "{{ qrz.version }}"
|