Skip to content

Commit 446a306

Browse files
committed
Make Graylog frontend components optional
This commit makes it optional to get the frontend stuff deployed, by using two specific variables named graylog_frontend_nginx_enable and graylog_frontend_keepalived_enable.
1 parent 28f3b3b commit 446a306

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

graylog.yml

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
tasks:
4040
- import_role:
4141
name: 'nginx'
42+
when:
43+
- graylog_frontend_nginx_enable|bool
4244

4345
- import_role:
4446
name: 'keepalived'
47+
when:
48+
- graylog_frontend_keepalived_enable|bool

inventory/lab/group_vars/graylog_frontend.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
---
22

3+
# Chose whether or not to enable frontend components
4+
graylog_frontend_keepalived_enable: true
5+
graylog_frontend_nginx_enable: true
6+
37
# Keepalived configuration
48
keepalived_vrrp_password: '91514409'
59
keepalived_vrrp_vips:

0 commit comments

Comments
 (0)