updated transmission state

This commit is contained in:
Paul 2020-08-08 20:30:11 +02:00
parent e13487e3fd
commit a0f8e43f51
2 changed files with 9 additions and 2 deletions

View File

@ -5,6 +5,13 @@ transmission-dl-dir:
file.directory:
- name: {{ transmission['config']['download-dir'] }}
- makedirs: True
- user: debian-transmission
- group: debian-transmission
- mode: 755
- recurse:
- user
- group
- mode
transmission-settings-directory:
file.directory:
@ -31,4 +38,4 @@ transmission-settings:
- user: root
- group: debian-transmission
- mode: 0660
- template: jinja
- template: jinja

View File

@ -1,2 +1,2 @@
{%- from "transmission/map.jinja" import transmission with context -%}
{{ transmission.config|json }}
{{ transmission.config|tojson }}