Fix haproxy logging

Due to error during migration to journald [1], rsyslog config has
remained intact, which caused logs from journald being copied to
regular logfile, without proper logrotate.

Now we're fixing this and dropping rsyslog config as well.

This will affect only ppl that are upgrading their environments since
Stein

[1] https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/672039/4/tasks/haproxy_post_install.yml#b38

Change-Id: I01689bbb3f331b4d8d4afe9d096a4213072ad7c0
This commit is contained in:
Dmitriy Rabotyagov 2021-04-16 21:35:04 +03:00
parent abafc878c2
commit bec3c0e872
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@
with_items:
- /etc/rsyslog.d/49-haproxy.conf
- /etc/logrotate.d/haproxy
- /etc/rsyslog.d/10-haproxy-local-logging.conf
notify: Restart rsyslog
tags:
- haproxy-logging-config