paulbsd-salt/states/youtubedl/init.sls

12 lines
354 B
Plaintext

---
{%- from "youtubedl/map.jinja" import youtubedl with context %}
youtubedl-bin:
file.managed:
- name: {{ youtubedl.install_dir }}/youtube-dl
- source: https://github.com/ytdl-org/youtube-dl/releases/download/{{ youtubedl.version }}/youtube-dl
- user: root
- group: root
- mode: 0775
- template: jinja
- skip_verify: true