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