diff --git a/roles/rsyslog/templates/input_relp.j2 b/roles/rsyslog/templates/input_relp.j2 index e274285f..7196e8cb 100644 --- a/roles/rsyslog/templates/input_relp.j2 +++ b/roles/rsyslog/templates/input_relp.j2 @@ -2,7 +2,7 @@ input(name="{{ __rsyslog_input.name }}" type="imrelp" port="{{ __rsyslog_input.port | d(20514) | int }}" {% if ansible_distribution in ['CentOS', 'RedHat'] and - ansible_distribution_major_version is version('7', '==') %} + ansible_distribution_major_version is version('7', '>') %} maxDataSize="{{ __rsyslog_input.max_data_size | d(logging_max_message_size) | int }}" {% endif %} {% if __rsyslog_input.tls | default(true) %}