File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 116
116
notify :
117
117
- Restart wazuh
118
118
119
+ - name : Add JVM proxy settings to wazuh-indexer
120
+ blockinfile :
121
+ path : " /etc/wazuh-indexer/jvm.options"
122
+ state : present
123
+ owner : root
124
+ group : wazuh
125
+ marker : " # {mark} ANSIBLE MANAGED BLOCK JVM PROXY SETTINGS"
126
+ block : |
127
+ -Dhttp.proxyHost={{ http_proxy_url | urlsplit('hostname') }}
128
+ -Dhttp.proxyPort={{ http_proxy_url | urlsplit('port') }}
129
+ -Dhttps.proxyHost={{ http_proxy_url | urlsplit('hostname') }}
130
+ -Dhttps.proxyPort={{ http_proxy_url | urlsplit('port') }}
131
+ backup : yes
132
+ when : http_proxy_url is defined
133
+ notify :
134
+ - Restart wazuh-indexer
135
+
119
136
- name : Perform health check against filebeat
120
137
command : filebeat test output
121
138
changed_when : false
126
143
service :
127
144
name : wazuh-manager
128
145
state : restarted
146
+
147
+ - name : Restart wazuh-indexer
148
+ service :
149
+ name : wazuh-indexer
150
+ state : restarted
You can’t perform that action at this time.
0 commit comments