This commit is contained in:
Alexander Grothe 2017-07-28 16:09:11 +02:00
parent c42881044e
commit 728fd7c92b
2 changed files with 23 additions and 24 deletions

View File

@ -347,13 +347,12 @@ This role is used to set up a basic yaVDR installation. It creates the directori
This section is for reference only, please use the files in ~global_vars~ for customizations. This section is for reference only, please use the files in ~global_vars~ for customizations.
#+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes :padline no #+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes :padline no
--- ---
# file: roles/yavdr-common/defaults/main.yml # file: roles/yavdr-common/defaults/main.yml
#+END_SRC #+END_SRC
**** Repositories **** Repositories
You can set a list of package repositories which provide the necessary packages. Feel free to use own PPAs if you need special customization to the VDR and it's plugins. You can set a list of package repositories which provide the necessary packages. Feel free to use own PPAs if you need special customization to the VDR and it's plugins.
#+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes #+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes :padline yes
branch: unstable branch: unstable
repositories: repositories:
- 'ppa:yavdr/main' - 'ppa:yavdr/main'
@ -364,18 +363,18 @@ repositories:
#+END_SRC #+END_SRC
**** Drivers **** Drivers
Automatically installed drivers can be very useful, but if you know you need a certain driver, you can simply set it's value to *true*. If you don't want a driver to be installed, set it's value to *false*. Automatically installed drivers can be very useful, but if you know you need a certain driver, you can simply set it's value to *true*. If you don't want a driver to be installed, set it's value to *false*.
#+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes #+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes :padline yes
drivers: drivers:
sundtek: auto sundtek: auto
ddvb-dkms: auto ddvb-dkms: auto
#+END_SRC #+END_SRC
**** Additional Packages **** Additional Packages
Add additional packages you would like to have on your installation to this list Add additional packages you would like to have on your installation to this list
#+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes #+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes :padline yes
extra_packages: extra_packages:
- vim - vim
- tree - tree
- w-scan - w-scan
#+END_SRC #+END_SRC
**** VDR **** VDR
This section allows you to set the recording directory, the user and group that runs the vdr and it's home directory. This section allows you to set the recording directory, the user and group that runs the vdr and it's home directory.
@ -388,7 +387,7 @@ This section allows you to set the recording directory, the user and group that
- hide_first_recording_level :: let vdr hide the first directory level of it's recording directory so the content of multiple directories is shown merged together - hide_first_recording_level :: let vdr hide the first directory level of it's recording directory so the content of multiple directories is shown merged together
- safe_dirnames :: replace special characters which are not compatible with Windows file systems and Samba shares - safe_dirnames :: replace special characters which are not compatible with Windows file systems and Samba shares
- override_vdr_charset :: workaround for channels with weird EPG encodings, e.g. Sky - override_vdr_charset :: workaround for channels with weird EPG encodings, e.g. Sky
#+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes #+BEGIN_SRC yaml :tangle roles/yavdr-common/defaults/main.yml :mkdirp yes :padline yes
vdr: vdr:
user: vdr user: vdr
group: vdr group: vdr
@ -509,18 +508,15 @@ yavdr-common executes the following tasks:
pci: True pci: True
modules: True modules: True
gpus: True gpus: True
- debug: - debug:
var: usb var: '{{ item }}'
verbosity: 1
- debug:
var: pci
verbosity: 1
- debug:
var: modules
verbosity: 1
- debug:
var: gpus
verbosity: 1 verbosity: 1
with_items:
- usb
- pci
- gpus
- modules
#+END_SRC #+END_SRC
***** create media directories ***** create media directories
#+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :exports none :mkdirp yes #+BEGIN_SRC yaml :tangle roles/yavdr-common/tasks/main.yml :exports none :mkdirp yes

View File

@ -1,6 +1,6 @@
--- ---
# file: roles/yavdr-common/defaults/main.yml # file: roles/yavdr-common/defaults/main.yml
branch: unstable branch: unstable
repositories: repositories:
- 'ppa:yavdr/main' - 'ppa:yavdr/main'
@ -8,13 +8,16 @@ repositories:
- 'ppa:yavdr/{{branch}}-vdr' - 'ppa:yavdr/{{branch}}-vdr'
- 'ppa:yavdr/{{branch}}-kodi' - 'ppa:yavdr/{{branch}}-kodi'
- 'ppa:yavdr/{{branch}}-yavdr' - 'ppa:yavdr/{{branch}}-yavdr'
drivers: drivers:
sundtek: auto sundtek: auto
ddvb-dkms: auto ddvb-dkms: auto
extra_packages:
- vim extra_packages:
- tree - vim
- w-scan - tree
- w-scan
vdr: vdr:
user: vdr user: vdr
group: vdr group: vdr