roles/elasticsearch: add linting exception to lineinfile module to avoid changing permissions of global /etc/security/limits.conf

This commit is contained in:
neonmei 2020-11-12 11:20:02 -03:00
parent bc9b5b5849
commit 17e4e687a4
No known key found for this signature in database
GPG Key ID: 7EA1832E7E17237E

View File

@ -83,7 +83,7 @@
tags: configure
- name: Trusty | set MAX_LOCKED_MEMORY=unlimited in Elasticsearch in /etc/security/limits.conf
lineinfile:
lineinfile: # noqa 208
path: /etc/security/limits.conf
line: elasticsearch - memlock unlimited
create: yes