Fix condition
This commit is contained in:
parent
a84b9b1742
commit
4c4705e49f
@ -630,11 +630,10 @@ APT::Install-Suggests "0";
|
|||||||
blockinfile:
|
blockinfile:
|
||||||
dest: /etc/vdr/conf.d/04-vdr-hide-first-recordinglevel.conf
|
dest: /etc/vdr/conf.d/04-vdr-hide-first-recordinglevel.conf
|
||||||
create: true
|
create: true
|
||||||
|
state: "{{ 'present' if vdr.hide_first_recording_level else 'absent' }}"
|
||||||
block: |
|
block: |
|
||||||
[vdr]
|
[vdr]
|
||||||
--hide-first-recording-level
|
--hide-first-recording-level
|
||||||
when:
|
|
||||||
vdr.hide_first_recording_level
|
|
||||||
|
|
||||||
- name: create local dir in recdir
|
- name: create local dir in recdir
|
||||||
file:
|
file:
|
||||||
@ -4297,7 +4296,7 @@ options:
|
|||||||
default: ":0"
|
default: ":0"
|
||||||
description:
|
description:
|
||||||
- the DISPLAY variable to use when calling xrandr
|
- the DISPLAY variable to use when calling xrandr
|
||||||
preferred_outpus:
|
preferred_outputs:
|
||||||
required: False
|
required: False
|
||||||
default: ["HDMI", "DP", "DVI", "VGA", "TV": 0]
|
default: ["HDMI", "DP", "DVI", "VGA", "TV": 0]
|
||||||
description:
|
description:
|
||||||
|
@ -30,11 +30,10 @@
|
|||||||
blockinfile:
|
blockinfile:
|
||||||
dest: /etc/vdr/conf.d/04-vdr-hide-first-recordinglevel.conf
|
dest: /etc/vdr/conf.d/04-vdr-hide-first-recordinglevel.conf
|
||||||
create: true
|
create: true
|
||||||
|
state: "{{ 'present' if vdr.hide_first_recording_level else 'absent' }}"
|
||||||
block: |
|
block: |
|
||||||
[vdr]
|
[vdr]
|
||||||
--hide-first-recording-level
|
--hide-first-recording-level
|
||||||
when:
|
|
||||||
vdr.hide_first_recording_level
|
|
||||||
|
|
||||||
- name: create local dir in recdir
|
- name: create local dir in recdir
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user