Skip to content
Permalink
Browse files

Configurable instance_suffix

  • Loading branch information...
hamishforbes committed May 15, 2019
1 parent a016ff6 commit d00bd5f3f1de8b31890afd5a40d0cb1bf581550c
Showing with 2 additions and 1 deletion.
  1. +2 −1 tasks/elasticsearch-parameters.yml
@@ -58,7 +58,8 @@
#For directories we also use the {{inventory_hostname}}-{{ es_instance_name }} - this helps if we have a shared SAN.

- 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
set_fact: pid_dir={{ es_pid_dir }}/{{instance_suffix}}
- name: set fact log_dir

0 comments on commit d00bd5f

Please sign in to comment.
You can’t perform that action at this time.