From a6a1985d81c32aab5f00564d0c8a7c8c6ef1f068 Mon Sep 17 00:00:00 2001
From: Yohann D'ANELLO <ynerant@crans.org>
Date: Tue, 20 Jul 2021 12:10:02 +0200
Subject: [PATCH] [screen] Override screen-cleanup.conf rather than create new
 screen.conf

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
---
 roles/common-tools/tasks/main.yml                             | 4 ++--
 .../tmpfiles.d/{screen.conf.j2 => screen-cleanup.conf.j2}     | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename roles/common-tools/templates/tmpfiles.d/{screen.conf.j2 => screen-cleanup.conf.j2} (100%)

diff --git a/roles/common-tools/tasks/main.yml b/roles/common-tools/tasks/main.yml
index 7724daf0..814ceb28 100644
--- a/roles/common-tools/tasks/main.yml
+++ b/roles/common-tools/tasks/main.yml
@@ -57,6 +57,6 @@
 
 - name: Deploy screen tmpfile
   template:
-    src: tmpfiles.d/screen.conf.j2
-    dest: /etc/tmpfiles.d/screen.conf
+    src: tmpfiles.d/screen-cleanup.conf.j2
+    dest: /etc/tmpfiles.d/screen-cleanup.conf
     mode: 0644
diff --git a/roles/common-tools/templates/tmpfiles.d/screen.conf.j2 b/roles/common-tools/templates/tmpfiles.d/screen-cleanup.conf.j2
similarity index 100%
rename from roles/common-tools/templates/tmpfiles.d/screen.conf.j2
rename to roles/common-tools/templates/tmpfiles.d/screen-cleanup.conf.j2
-- 
GitLab