Disabled security in elasticsearch default configuration template

This commit is contained in:
ionutboangiu
2023-08-02 02:29:39 -04:00
committed by Dan Christian Bogos
parent a9043817b8
commit c65b969e3b
3 changed files with 5 additions and 2 deletions

View File

@@ -8,6 +8,6 @@ elasticsearch_repository: "deb [signed-by={{ elasticsearch_gpg_keyring }}] https
auto_create_index: ".monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*"
elasticsearch_service_enabled: true
elasticsearch_service_state: started
elasticsearch_service_masked: no
elasticsearch_service_masked: false
elasticsearch_dependencies:
- apt-transport-https

View File

@@ -33,7 +33,7 @@
name: elasticsearch.service
enabled: "{{ elasticsearch_service_enabled }}"
state: "{{ elasticsearch_service_state }}"
# masked: "{{ elasticsearch_service_masked }}"
masked: "{{ elasticsearch_service_masked }}"
- name: Configure Elasticsearch
become: true

View File

@@ -6,3 +6,6 @@ path.logs: "/var/log/elasticsearch"
network.host: "127.0.0.1"
http.port: 9200
action.auto_create_index: "{{ auto_create_index }}"
xpack.security.enabled: false
xpack.security.transport.ssl.enabled: false
xpack.security.http.ssl.enabled: false