diff --git a/roles/base/files/rsyslog/rsyslog-limits-systemd b/roles/base/files/rsyslog/rsyslog-limits-systemd index 05a35d8b67..5c062dc32a 100644 --- a/roles/base/files/rsyslog/rsyslog-limits-systemd +++ b/roles/base/files/rsyslog/rsyslog-limits-systemd @@ -1,4 +1,4 @@ -$MaxOpenFiles 16384 +$MaxOpenFiles 131072 [Service] -LimitNOFILE=16384 +LimitNOFILE=131072 diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 97f00b0fd5..35a59fbb5a 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -366,14 +366,14 @@ - name: rsyslogd make systemd limits directory for file handles file: dest=/etc/systemd/system/rsyslog.service.d/ mode=0755 owner=root group=root state=directory - when: inventory_hostname.startswith('log') + when: inventory_hostname.startswith('log') or inventory_hostname.startswith('people') tags: - rsyslogd - config - name: rsyslogd put systemd limits directory for file handles copy: src=rsyslog/rsyslog-limits-systemd dest=/etc/systemd/system/rsyslog.service.d/limits.conf mode=0644 - when: inventory_hostname.startswith('log') + when: inventory_hostname.startswith('log') or inventory_hostname.startswith('people') tags: - rsyslogd - config