Support for removing memory settings
This commit is contained in:
parent
d7d144b638
commit
fe336c3767
1 changed files with 5 additions and 0 deletions
|
|
@ -43,6 +43,11 @@
|
|||
when: es_heap_size is defined
|
||||
register: elasticsearch_configure
|
||||
|
||||
- name: Remove memory in defaults
|
||||
lineinfile: dest={{instance_default_file}} regexp="^ES_HEAP_SIZE" line="ES_HEAP_SIZE=" state=absent
|
||||
when: es_heap_size is not defined
|
||||
register: elasticsearch_configure
|
||||
|
||||
- debug: msg="{{elasticsearch_configure}}"
|
||||
|
||||
#We only have to set these if they are specified. The start scripts will by default set this value.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue