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:
Logan V 2017-03-04 13:49:52 -06:00
parent 69b92aa6ac
commit 9df34f6a33

View File

@ -141,6 +141,13 @@
- /var/log/conntrackd-stats.log - /var/log/conntrackd-stats.log
tags: tags:
- rsyslog - 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" - role: "system_crontab_coordination"
tags: tags:
- crontab - crontab