delete block in file if vdr.hide_first_recordinglevel is not set
This commit is contained in:
parent
a84b9b1742
commit
87969286f2
@ -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