From 1424ec35b765628dbb9a48e210932187e07a7809 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Thu, 4 Jun 2020 20:54:10 +0200
Subject: [PATCH] stop overriding mediaimport service conf

---
 roles/mediaimport/tasks/main.yml | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/roles/mediaimport/tasks/main.yml b/roles/mediaimport/tasks/main.yml
index ce618f10..6b17bce8 100644
--- a/roles/mediaimport/tasks/main.yml
+++ b/roles/mediaimport/tasks/main.yml
@@ -122,20 +122,6 @@
     src: files/mediaimport
     dest: /etc/cron.d/mediaimport
 
-- name: create service override directory
-  file:
-    path: /etc/systemd/system/mediaimport.service.d
-    state: directory
-
-- name: create service override file
-  notify: reload systemd
-  copy:
-    dest: /etc/systemd/system/mediaimport.service.d/override.conf
-    content: |
-      [Service]
-      User=root
-      Group=root
-
 - name: configure mediaimport
   when:
     - mediaimport_ms_api_key | d(false)
-- 
GitLab