Fix condition

This commit is contained in:
Alexander Grothe 2017-12-19 20:10:39 +01:00
parent a84b9b1742
commit 4c4705e49f
2 changed files with 3 additions and 5 deletions

View File

@ -630,11 +630,10 @@ APT::Install-Suggests "0";
blockinfile:
dest: /etc/vdr/conf.d/04-vdr-hide-first-recordinglevel.conf
create: true
state: "{{ 'present' if vdr.hide_first_recording_level else 'absent' }}"
block: |
[vdr]
--hide-first-recording-level
when:
vdr.hide_first_recording_level
- name: create local dir in recdir
file:
@ -4297,7 +4296,7 @@ options:
default: ":0"
description:
- the DISPLAY variable to use when calling xrandr
preferred_outpus:
preferred_outputs:
required: False
default: ["HDMI", "DP", "DVI", "VGA", "TV": 0]
description:

View File

@ -30,11 +30,10 @@
blockinfile:
dest: /etc/vdr/conf.d/04-vdr-hide-first-recordinglevel.conf
create: true
state: "{{ 'present' if vdr.hide_first_recording_level else 'absent' }}"
block: |
[vdr]
--hide-first-recording-level
when:
vdr.hide_first_recording_level
- name: create local dir in recdir
file: