paulbsd-salt/states/ytdlp/init.sls

12 lines
322 B
Plaintext
Raw Permalink Normal View History

2022-04-17 20:27:57 +02:00
---
{%- from "ytdlp/map.jinja" import ytdlp with context %}
ytdlp-bin:
file.managed:
- name: {{ ytdlp.install_dir }}/yt-dlp
- source: https://github.com/yt-dlp/yt-dlp/releases/download/{{ ytdlp.version }}/yt-dlp
- user: root
- group: root
- mode: "0775"
2022-04-17 20:27:57 +02:00
- template: jinja
- skip_verify: true