-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvdr.yml
More file actions
26 lines (26 loc) · 688 Bytes
/
vdr.yml
File metadata and controls
26 lines (26 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
- hosts: all
become: yes
tasks:
- name: Add YAVDR repositories
apt_repository:
repo='ppa:yavdr/main' state=present
repo='ppa:yavdr/stable-vdr' state=present
- name: Install VDR
apt:
pkg=vdr state=installed update_cache=true
- name: Configure VDR
copy:
src: "{{ item }}"
dest: "/{{ item }}"
mode: 0644
backup: yes
with_items:
- etc/default/vdr
- etc/vdr/conf.d/00-vdr.conf
- etc/init/vdr.conf
# Firmware for HMP-Combo DVB C/T2 USB tuner
- lib/firmware/dvb-demod-si2168-a30-01.fw
- lib/firmware/dvb-demod-si2168-b40-01.fw
- name: Restart VDR
service: name=vdr state=restarted