Skip to content

Commit

Permalink
Fix EL 7 maxdatasize incorrect condition
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrosi authored and richm committed Jun 5, 2024
1 parent 3a8a108 commit f87f754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/rsyslog/templates/input_relp.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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) %}
Expand Down

0 comments on commit f87f754

Please sign in to comment.