2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
{%- from "website/map.jinja" import website with context %}
|
|
|
|
website-archive-extract:
|
|
|
|
archive.extracted:
|
|
|
|
- name: {{ website.release_dir }}/website-{{ website.version }}
|
|
|
|
- source: {{ website.mirror }}/{{ website.version }}/website-{{ website.version }}.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: {{ website.release_dir }}/website-{{ website.version }}
|
|
|
|
|
|
|
|
website-binary-symlink:
|
|
|
|
file.symlink:
|
|
|
|
- name: {{ website.install_dir }}/website
|
|
|
|
- target: {{ website.release_dir }}/website-{{ website.version }}
|
2023-07-24 23:37:48 +02:00
|
|
|
- force: true
|
2020-07-10 00:58:55 +02:00
|
|
|
- require:
|
2023-07-24 23:37:48 +02:00
|
|
|
- archive: website-archive-extract
|
2023-11-10 13:27:04 +01:00
|
|
|
|
|
|
|
website-cleanup:
|
|
|
|
software.cleanup:
|
|
|
|
- name: website
|
|
|
|
- path: {{ website.release_dir }}
|
|
|
|
- version: "{{ website.version }}"
|