fixup! elasticsearch: RESTART_ON_UPGRADE is configurable

This commit is contained in:
Jérémy Lecour 2018-02-20 15:21:18 +01:00 committed by Jérémy Lecour
parent 41f7b029b2
commit 40939dd6bd
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@
- name: Configure RESTART_ON_UPGRADE
lineinfile:
dest: /etc/default/elasticsearch
line: "RESTART_ON_UPGRADE={{ elasticsearch_restart_on_upgrade | bool | ternary('true','false') }}"
regexp: "^RESTART_ON_UPGRADE="
insertafter: "^# *RESTART_ON_UPGRADE="
tags: