paulbsd-salt/states/gobackup/install.sls

10 lines
342 B
Plaintext
Raw Normal View History

2020-08-30 16:54:26 +02:00
---
{%- from "gobackup/map.jinja" import gobackup with context %}
gobackup-bin:
file.managed:
- name: {{ gobackup.install_dir }}/gobackup
- source: {{ gobackup.fetch_url }}/gobackup-{{ gobackup.os }}-{{ gobackup.arch }}
- user: root
- group: root
- skip_verify: True
- if_missing: {{ gobackup.install_dir }}/gobackup