paulbsd-salt/states/ytdlp/init.sls
Paul Lecuq 24500ff074
Some checks failed
continuous-integration/drone/push Build is failing
updated states (lints) / updated .drone.yml
2022-06-10 00:13:19 +02:00

12 lines
322 B
Plaintext

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