Try to fix a problem with the regexp.

This commit is contained in:
Andrea Dell'Amico 2023-11-10 14:04:50 +01:00
parent 16cbf031a2
commit ae7400b7f7
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
- name: rsyslog-configuration | Disable logging into /var/log/syslog
ansible.builtin.lineinfile:
path: /etc/rsyslog.d/50-default.conf
regexp: "^*.*;auth,authpriv.none\t\t\\-/var/log/syslog"
regexp: "^\\*\\.\\*;auth,authpriv.none\t\t\\-/var/log/syslog"
owner: root
group: root
mode: "0644"