Make certs import task for Kibana use kibana_node_name

This commit is contained in:
Jose M 2020-06-26 10:53:36 +02:00
parent 4050cef2be
commit 539f1930df
No known key found for this signature in database
GPG Key ID: 790179D6924E10FF
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ elasticsearch_nodes: |-
elasticsearch_network_host: 172.16.0.161
elastic_api_protocol: https
kibana_conf_path: /etc/kibana
kibana_node_name: node-1
kibana_server_host: "0.0.0.0"
kibana_server_port: "5601"
kibana_server_name: "kibana"

View File

@ -6,8 +6,8 @@
dest: /usr/share/kibana
mode: 0644
with_items:
- "{{ inventory_hostname }}_http.key"
- "{{ inventory_hostname }}_http.pem"
- "{{ kibana_node_name }}_http.key"
- "{{ kibana_node_name }}_http.pem"
tags:
- security
when: install.changed