Additional tests + support for empty es_config + documentation
This commit is contained in:
parent
e98b74ab28
commit
b2997cc0bc
9 changed files with 101 additions and 63 deletions
|
|
@ -128,6 +128,7 @@
|
|||
|
||||
- stat: path=/usr/lib/systemd/system/elasticsearch.service
|
||||
register: systemd_service
|
||||
when: es_config['bootstrap.mlockall'] is defined and es_config['bootstrap.mlockall'] == True
|
||||
|
||||
- name: Configure systemd
|
||||
lineinfile: dest=/usr/lib/systemd/system/elasticsearch.service regexp="^LimitMEMLOCK" insertafter="^#LimitMEMLOCK" line="LimitMEMLOCK=infinity"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue