updated go-aptproxy state

This commit is contained in:
Paul 2021-11-27 13:36:41 +01:00
parent 2c941ef467
commit bda3505cf1

View File

@ -2,18 +2,18 @@
{%- from "go-aptproxy/map.jinja" import goaptproxy with context %}
go-aptproxy-archive-extract:
archive.extracted:
- name: {{ goaptproxy.release_dir }}/go-aptproxy-{{ go-aptproxy.version }}
- source: {{ goaptproxy.mirror }}/{{ go-aptproxy.version }}/go-aptproxy-{{ go-aptproxy.version }}-{{ go-aptproxy.os }}-{{ go-aptproxy.arch }}.tar.gz
- name: {{ goaptproxy.release_dir }}/go-aptproxy-{{ goaptproxy.version }}
- source: {{ goaptproxy.mirror }}/{{ goaptproxy.version }}/go-aptproxy-{{ goaptproxy.version }}-{{ goaptproxy.os }}-{{ goaptproxy.arch }}.tar.gz
- skip_verify: true
- enforce_toplevel: false
- if_missing: {{ goaptproxy.release_dir }}/go-aptproxy-{{ go-aptproxy.version }}
- if_missing: {{ goaptproxy.release_dir }}/go-aptproxy-{{ goaptproxy.version }}
- watch_in:
- service: go-aptproxy-service
go-aptproxy-binary-symlink:
file.symlink:
- name: {{ goaptproxy.install_dir }}/go-aptproxy
- target: {{ goaptproxy.release_dir }}/go-aptproxy-{{ go-aptproxy.version }}
- target: {{ goaptproxy.release_dir }}/go-aptproxy-{{ goaptproxy.version }}
- require:
- archive: go-aptproxy-archive-extract
- watch_in: