Skip to content

Commit

Permalink
Merge pull request #43 from gaetanfl/netdata_proxy_ssl_option
Browse files Browse the repository at this point in the history
Netdata proxy ssl option
mrlesmithjr authored Feb 12, 2020
2 parents 9163324 + a6f8102 commit f06a195
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -173,9 +173,15 @@ netdata_stream_receive_api_key: "{{ netdata_stream_api_key }}"
# Defines Netdata master node and port (e.g. 127.0.0.1:19999)
netdata_stream_master_node: ""

# Defines weather the netdata node is acting as a proxy
# Defines whether the netdata node is acting as a proxy
netdata_stream_proxy: false

# Defines client ssl configuration
# netdata_client_ssl_options:
# ssl skip certificate verification: "yes"
# CAfile: /etc/ssl/certs/ca-certificates.crt
netdata_client_ssl_options: {}

# Defines if Netdata should be uninstalled
# Caution: This does not prompt for uninstall as the original script
# was intended.
7 changes: 6 additions & 1 deletion templates/stream.conf.j2
Original file line number Diff line number Diff line change
@@ -22,7 +22,12 @@

# the IP and PORT of the master
destination = {{ netdata_stream_master_node }}


# TLS client options
{% for ssl_option, ssl_value in netdata_client_ssl_options.items() %}
{{ ssl_option }} = {{ ssl_value }}
{% endfor %}

# the API key to use
api key = {{ netdata_stream_send_api_key }}
{% endif %}

0 comments on commit f06a195

Please sign in to comment.