Skip to content

Commit 2a44103

Browse files
committed
Turn off local mermaid because of Molecule tests
During Molecule tests you're not allowed to write Mermaid config to the control node. So we're turning it off by default.
1 parent f94ecc2 commit 2a44103

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

docs/role-logstash.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Aside from `logstash.yml` we can manage Logstashs pipelines.
9191

9292
* *logstash_mermaid*: Print overview over Logstash pipelines in Mermaid syntax. (default: `true`)
9393
* *logstash_mermaid_logstash*: Place Mermaid syntax into `/etc/logstash/pipelines.mermaid` on Logstash hosts. (default: `true`)
94-
* *logstash_mermaid_local*: Place Mermaid syntax into temporary file on control node. (default: `true`)
94+
* *logstash_mermaid_local*: Place Mermaid syntax into temporary file on control node. (default: `false`)
9595
* *logstash_mermaid_extra*: You can add extra Mermaid syntax to the output by adding it to this variable. YAML-multiline is supported. (default: none)
9696

9797
The following variables configure Log4j for Logstash. All default to `true` as this is the default after the installation.

molecule/elasticstack_default/converge.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
elasticstack_no_log: false
2020
logstash_pipeline_unsafe_shutdown: true
2121
logstash_redis_password: "{{ lookup('ansible.builtin.password', '/tmp/redispassword', chars=['ascii_letters'], length=15) }}"
22-
logstash_mermaid_local: false # no permission to write into Docker control node
2322
redis_requirepass: "{{ logstash_redis_password }}"
2423
beats_filebeat_journald: true
2524
beats_filebeat_modules:

roles/logstash/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ logstash_pipeline_identifier_field_name: "[netways][pipeline]"
8989
logstash_pipeline_identifier_defaults: false
9090

9191
logstash_mermaid: true
92-
logstash_mermaid_local: true
92+
logstash_mermaid_local: false
9393
logstash_mermaid_logstash: true
9494

9595
# Only for internal use

0 commit comments

Comments
 (0)