Ensure /etc/systemd/system/vdr.service.d/ exists

This commit is contained in:
Alexander Grothe 2018-02-12 13:09:57 +01:00
parent d0e13acdb3
commit 00d4b49aa7
3 changed files with 16 additions and 6429 deletions

File diff suppressed because it is too large Load Diff

View File

@ -708,6 +708,13 @@ The additional plugins to install can be set in the variable ~{{vdr_plugins}}~ i
**** start vdr after network-online.target
#+BEGIN_SRC yaml :tangle roles/vdr/tasks/main.yml :mkdirp yes
- name: create directory for vdr.service systemd drop-in files
file:
dest: '{{ item }}'
state: directory
with_items:
- "/etc/systemd/system/vdr.service.d/"
- name: systemd-drop-in | start vdr.service after network-online.target
template:
src: templates/systemd/network-online.j2

View File

@ -77,6 +77,13 @@
group: '{{ vdr.group }}'
mode: 0644
force: no
- name: create directory for vdr.service systemd drop-in files
file:
dest: '{{ item }}'
state: directory
with_items:
- "/etc/systemd/system/vdr.service.d/"
- name: systemd-drop-in | start vdr.service after network-online.target
template:
src: templates/systemd/network-online.j2