Skip to content

romain-dartigues/ansible-netdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Homepage:https://github.com/romain-dartigues/ansible-netdata
License:BSD 3-Clause

Deploy netdata (:octocat:) through ansible with ability to configure and switch master.

Contributions and suggestions welcome.

Requirements

  • inventory_hostname should be a FQDN and must be consistent with netdata_stream_master, netdata_stream_host
  • tested with ansible 2.5 and CentOS 7

Configuration

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.

Streaming

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

Example Playbook

- 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

Credits

I'm not affiliated in any ways with FireHOL (but admirative about their work ♥).

About

deploy netdata through ansible

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published