Configurable instance_suffix
This commit is contained in:
parent
a016ff6e10
commit
d00bd5f3f1
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue