allow elasticsearch to readh the ca file
This commit is contained in:
parent
f43b885dc8
commit
be973340ad
@ -149,6 +149,8 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ node_certs_destination }}/"
|
dest: "{{ node_certs_destination }}/"
|
||||||
|
owner: root
|
||||||
|
group: elasticsearch
|
||||||
mode: 0440
|
mode: 0440
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ master_certs_path }}/{{ elasticsearch_node_name }}/{{ elasticsearch_node_name }}.key"
|
- "{{ master_certs_path }}/{{ elasticsearch_node_name }}/{{ elasticsearch_node_name }}.key"
|
||||||
@ -164,6 +166,8 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ node_certs_destination }}/"
|
dest: "{{ node_certs_destination }}/"
|
||||||
|
owner: root
|
||||||
|
group: elasticsearch
|
||||||
mode: 0440
|
mode: 0440
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ master_certs_path }}/{{ elasticsearch_node_name }}/{{ elasticsearch_node_name }}.key"
|
- "{{ master_certs_path }}/{{ elasticsearch_node_name }}/{{ elasticsearch_node_name }}.key"
|
||||||
@ -178,6 +182,8 @@
|
|||||||
- name: Ensuring folder permissions
|
- name: Ensuring folder permissions
|
||||||
file:
|
file:
|
||||||
path: "{{ node_certs_destination }}/"
|
path: "{{ node_certs_destination }}/"
|
||||||
|
owner: root
|
||||||
|
group: elasticsearch
|
||||||
mode: 0774
|
mode: 0774
|
||||||
state: directory
|
state: directory
|
||||||
recurse: no
|
recurse: no
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user