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

@@ -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