Fix quoting for hardware detection conditions

This commit is contained in:
Alexander Grothe
2017-08-31 15:55:04 +02:00
parent e5a4394129
commit 1a10952345
12 changed files with 42 additions and 48 deletions

View File

@@ -5,6 +5,6 @@
apt:
name: vdr-plugin-pvrinput
when:
- '"0070:4000" in pci'
- '"4444:0016" in pci'
- "0070:4000" in pci
- "4444:0016" in pci
notify: [ 'Restart VDR' ]

View File

@@ -5,6 +5,6 @@
apt:
name: vdr-plugin-imonlcd
when:
- '"15c2:0038" in usb'
- '"15c2:ffdc" in usb'
- "15c2:0038" in usb
- "15c2:ffdc" in usb
notify: [ 'Restart VDR' ]

View File

@@ -5,4 +5,4 @@
apt:
name: libcec-daemon
when:
- '"2548:1002" in usb'
- "2548:1002" in usb

View File

@@ -5,5 +5,5 @@
apt:
name: vdr-plugin-pvr350
when:
- '"0070:4000" in pci'
- "0070:4000" in pci
notify: [ 'Restart VDR' ]

View File

@@ -5,5 +5,5 @@
apt:
name: vdr-plugin-targavfd
when:
- '"19c2:6a11" in usb'
- "19c2:6a11" in usb
notify: [ 'Restart VDR' ]

View File

@@ -8,4 +8,4 @@
with_items:
- kodi
- kodi-pvr-vdr-vnsi
- kodi-eventclients-xbmc-send
- kodi-eventclients-xbmc-send

View File

@@ -9,7 +9,7 @@
with_items:
- avahi-daemon
- avahi-utils
#- biosdevname # caution: may change device names after a minimal installation!
#- biosdevname # caution: this may change device names after a minimal installation!
- ethtool
- nfs-common
- vdr-addon-avahi-linker

View File

@@ -18,7 +18,6 @@
enabled: yes
notify: ['Start VDR']
- name: Stop xlogin
systemd:
name: 'xlogin@{{ vdr.user }}.service'
@@ -29,7 +28,6 @@
name: x@vt7.service
state: stopped
- name: "start x-verbose@.service"
systemd:
name: "x-verbose@vt7.service"
@@ -59,11 +57,9 @@
enabled: false
masked: true
# IDEA: use hooks or requirements instead
# TODO: expand template for xorg.conf (or snippets)
# with respect for the available graphics card driver
# nvidia, noveau, intel, radeon
- name: create xorg.conf (for nvidia driver)
template:
src: templates/xorg.conf.j2

View File

@@ -1,3 +1,5 @@
---
# file: roles/yavdr-xorg/tasks/setup-xorg.yml
- name: create directories for systemd drop-in files
file:
dest: '{{ item }}'

View File

@@ -1,3 +1,5 @@
---
# file: roles/yavdr-xorg/templates/systemd/system/x-verbose@.service.j2
[Unit]
Description=X with verbose logging on %I
Wants=graphical.target

View File

@@ -1,6 +1,5 @@
# file: roles/yavdr-xorg/templates/vdr-xorg.conf
# {{ ansible_managed_file }}
[Unit]
After=x@vt7.service
Wants=x@vt7.service