Homepage: | https://github.com/romain-dartigues/ansible-netdata |
---|---|
License: | BSD 3-Clause |
Deploy netdata () through ansible with ability to configure and switch master.
Contributions and suggestions welcome.
inventory_hostname
should be a FQDN and must be consistent withnetdata_stream_master
,netdata_stream_host
- tested with
ansible
2.5 and CentOS 7
netdata_dmz |
if set, will download netdata package through the ansible host |
netdata_url_base |
base URL where to download netdata |
netdata_url_latest |
a file containing the base name of the latest version |
netdata_installer_uri |
URI of the latest package |
Note
The netdata_latest_package
variable is set within the task
from the content of netdata_url_base
.
netdata_master |
hostname to contact the master;
or netdata_master_host if unset |
netdata_master_host |
name of the master |
netdata_stream_uuid |
UUID used by clients to connect the master |
- hosts:
- foo.example.net
- bar.example.net
- xyz.example.net
vars:
ansible_master: "netdata.example.net"
ansible_master_host: "foo.example.net"
netdata_stream_uuid: "e512bb7d-2514-4ff3-9022-e25645e96503"
roles:
- netdata
I'm not affiliated in any ways with FireHOL (but admirative about their work ♥).