Skip to content

Commit 01a2692

Browse files
author
Donald Morton
committed
Disable elasticsearch discovery by default.
Fixes #165.
1 parent 64d5915 commit 01a2692

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ graylog_http_external_uri: "http://{{ ansible_default_ipv4.address }}:9000/"
8585

8686
Take a look into `defaults/main.yml` to get an overview of all configuration parameters.
8787

88+
If you need to configure a graylog setting that we haven't set up, you can use `graylog_additional_config` to declare it:
89+
90+
```yaml
91+
graylog_additional_config:
92+
elasticsearch_discovery_default_user: my_username
93+
elasticsearch_discovery_default_password: "{{ my_password }}"
94+
```
95+
96+
8897
More detailed example
8998
---------------------
9099

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ graylog_elasticsearch_disable_version_check: True
5656
graylog_elasticsearch_http_enabled: False
5757
graylog_disable_index_optimization: True
5858
graylog_index_optimization_max_num_segments: 1
59-
graylog_elasticsearch_discovery_enabled: True
59+
graylog_elasticsearch_discovery_enabled: False
6060
graylog_elasticsearch_discovery_frequency: "30s"
6161
graylog_elasticsearch_discovery_filter: ""
6262
graylog_elasticsearch_max_total_connections: 20

0 commit comments

Comments
 (0)