paulbsd-salt/states/youtubedl/init.sls

12 lines
354 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "youtubedl/map.jinja" import youtubedl with context %}
youtubedl-bin:
file.managed:
2020-09-10 22:23:03 +02:00
- name: {{ youtubedl.install_dir }}/youtube-dl
2020-07-10 00:58:55 +02:00
- source: https://github.com/ytdl-org/youtube-dl/releases/download/{{ youtubedl.version }}/youtube-dl
- user: root
- group: root
- mode: 0775
- template: jinja
2020-09-10 22:23:03 +02:00
- skip_verify: true