Fix errors

This commit is contained in:
sonny 2021-10-30 20:23:27 +02:00
parent 55c618ec9c
commit 307a806680
5 changed files with 8 additions and 7 deletions

View file

@ -6,12 +6,12 @@
- name: created mpd files
file:
src: '{{ item }}'
path: '{{ item }}'
state: touch
loop:
- 'db'
- 'state'
- 'sticker.sql'
- '{{ ansible_env.HOME }}/.config/mpd/db'
- '{{ ansible_env.HOME }}/.config/mpd/state'
- '{{ ansible_env.HOME }}/.config/mpd/sticker.sql'
- name: restart mpd service
systemd:

View file

@ -51,7 +51,7 @@
}
- {
src: 'templates/radicale/service.j2',
dest: '/etc/systemd/systemd/radicale.service',
dest: '/etc/systemd/system/radicale.service',
mode: '0644'
}

View file

@ -1,11 +1,10 @@
- name: copy transmission template
template:
src: 'templates/transmission.j2'
dest: '{{ ansible_env.HOME }}/transmission-daemon/settings.json'
dest: '{{ ansible_env.HOME }}/.config/transmission-daemon/settings.json'
mode: '0600'
- name: restart transmission daemon
become: true
systemd:
name: transmission
state: restarted

View file

@ -5,3 +5,4 @@ packages:
- transmission-daemon
- openvpn
- mpd
- python3-virtualenv

View file

@ -3,3 +3,4 @@ transmission_download_folder: '/home/sonny/media/downloads'
transmission_incomplete_folder: '/home/sonny/media/downloads/Incompleet'
transmission_rpc_whitelist: '127.0.0.1,10.8.0.*, 10.8.1.*'
transmission_rpc_address: '10.8.0.1'
transmission_ratelimit_ratio: 2