Change the escape.

This commit is contained in:
Andrea Dell'Amico 2022-12-23 17:39:03 +01:00
parent a475e48702
commit 06bde2073a
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -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