From 06bde2073a5d059ced9346a1554619bb2d4d2af6 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 23 Dec 2022 17:39:03 +0100 Subject: [PATCH] Change the escape. --- tasks/tmpreaper.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/tmpreaper.yml b/tasks/tmpreaper.yml index 8b0bc2b..9f851a0 100644 --- a/tasks/tmpreaper.yml +++ b/tasks/tmpreaper.yml @@ -11,8 +11,8 @@ - name: Change the date check criteria from ctime to mtime ansible.builtin.lineinfile: path: /etc/cron.daily/tmpreaper - regexp: "^ --ctime \\" - line: " --mtime \\" + regexp: '^ --ctime \\' + line: ' --mtime \\' when: not tmpreaper_use_ctime - name: Install the tmpreaper configuration