Add rsyslog_client configuration for Calico
Run the rsyslog_client role against /etc/calico when calico is used, otherwise the /var/log/calico directory fills up with logs that never get rotated. Change-Id: I943dfc07a36094e711a8d20c181ce04f8c170f0d
This commit is contained in:
parent
69b92aa6ac
commit
9df34f6a33
@ -141,6 +141,13 @@
|
||||
- /var/log/conntrackd-stats.log
|
||||
tags:
|
||||
- rsyslog
|
||||
- role: "rsyslog_client"
|
||||
rsyslog_client_log_rotate_file: calico_log_rotate
|
||||
rsyslog_client_log_dir: "/var/log/calico"
|
||||
rsyslog_client_config_name: "99-calico-rsyslog-client.conf"
|
||||
when: "{{ 'neutron_calico_dhcp_agent' in group_names }}"
|
||||
tags:
|
||||
- rsyslog
|
||||
- role: "system_crontab_coordination"
|
||||
tags:
|
||||
- crontab
|
||||
|
Loading…
Reference in New Issue
Block a user