--- {%- 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