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:
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user