Additional tests + support for empty es_config + documentation

This commit is contained in:
Dale McDiarmid 2015-11-26 17:26:28 +00:00
parent e98b74ab28
commit b2997cc0bc
9 changed files with 101 additions and 63 deletions

View file

@ -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"