paulbsd-salt/states/ytdlp/init.sls

12 lines
320 B
Plaintext
Raw 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
- template: jinja
- skip_verify: true