delete block in file if vdr.hide_first_recordinglevel is not set

This commit is contained in:
seahawk1986 2017-12-19 20:02:06 +01:00 committed by GitHub
parent a84b9b1742
commit 87969286f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: