Install and configure netdata package.
This role requires Ansible 2.2 or higher, and platform requirements are listed in the metadata file.
This role use Molecule to run tests.
Local and Travis tests run tests on Docker by default. See molecule documentation to use other backend.
Currently, tests are done on:
- Debian Jessie
- Ubuntu Xenial
and use:
- Ansible 2.2.x
- Ansible 2.3.x
- Ansible 2.4.x
- Ansible 2.5.x
$ tox
You can manage main configuration file using ini format
netdata_main_configuration_items:
- section: 'foobar'
option: 'foo'
value: 'bar'
To avoid hard regex or errors, when you want a specific configuration for a plugin, you need to manage all its configuration using content key
netdata_plugins_configuration_items:
- path: 'python.d/squid.conf'
content:
foo: bar
None
- hosts: servers
roles:
- { role: infOpen.netdata }
MIT
Alexandre Chaussier (for Infopen company)
- http://www.infopen.pro
- a.chaussier [at] infopen.pro