Merge pull request #562 from hamishforbes/patch-1

Configurable instance_suffix
This commit is contained in:
Julien Mailleret 2019-05-21 11:16:03 -04:00 committed by GitHub
commit 86c8e3c59b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,8 @@
#For directories we also use the {{inventory_hostname}}-{{ es_instance_name }} - this helps if we have a shared SAN. #For directories we also use the {{inventory_hostname}}-{{ es_instance_name }} - this helps if we have a shared SAN.
- name: set fact instance_suffix - name: set fact instance_suffix
set_fact: instance_suffix={{inventory_hostname}}-{{ es_instance_name }} set_fact:
instance_suffix: "{{ es_instance_suffix | default([inventory_hostname, es_instance_name] | join('-')) }}"
- name: set fact pid_dir - name: set fact pid_dir
set_fact: pid_dir={{ es_pid_dir }}/{{instance_suffix}} set_fact: pid_dir={{ es_pid_dir }}/{{instance_suffix}}
- name: set fact log_dir - name: set fact log_dir