Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 362c979

Browse files
committed
Fix issue on logstash_bindprivileged
On docker for exemple this is not Supported
1 parent d18d4e1 commit 362c979

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
logstash_plugins: []
55
logstash_options: ""
66
logstash_longstartupworkaround: false
7-
logstash_bindprivileged: false
7+
#logstash_bindprivileged: false
88
logstash_configuration: ""
99
logstash_configurationtemplates: []

tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
path: /usr/lib/jvm/default-java/jre/bin/java
3535
capability: cap_net_bind_service+epi
3636
state: "{{ logstash_bindprivileged | ternary('present','absent') }}"
37+
when: logstash_bindprivileged is defined
3738
notify:
3839
- restart logstash
3940

0 commit comments

Comments
 (0)