paulbsd-salt/states/youtubedl/init.sls
2020-07-10 00:58:55 +02:00

11 lines
352 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