Try to fix a problem with the regexp.
This commit is contained in:
parent
16cbf031a2
commit
ae7400b7f7
|
@ -54,7 +54,7 @@
|
||||||
- name: rsyslog-configuration | Disable logging into /var/log/syslog
|
- name: rsyslog-configuration | Disable logging into /var/log/syslog
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/rsyslog.d/50-default.conf
|
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
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
Loading…
Reference in New Issue