Fix quoting for hardware detection conditions
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
---
|
||||
# file: roles/yavdr-xorg/tasks/setup-xorg.yml
|
||||
- name: create directories for systemd drop-in files
|
||||
file:
|
||||
dest: '{{ item }}'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# file: roles/yavdr-xorg/templates/vdr-xorg.conf
|
||||
# {{ ansible_managed_file }}
|
||||
|
||||
[Unit]
|
||||
After=x@vt7.service
|
||||
Wants=x@vt7.service
|
||||
|
||||
Reference in New Issue
Block a user