An Ansible role for setup a netdata.
This role use this bash script: https://github.com/netdata/netdata/raw/master/packaging/installer/kickstart.sh
- CentOS >= 7
- ansible >= 2.7
For more info on the values, read defaults/main.yml
| Variable | Default | Comments (type) |
|---|---|---|
netdata_installation_type |
tarball |
One of docker, tarball or package |
netdata_release |
1.47.5 |
Type: string |
netdata_tarball_checksum |
sha256:xxx |
Type: string |
Is required for tarball installation type |
||
config_dir |
For tarball: /opt/netdata/etc/netdata |
|
For package: /etc/netdata |
||
For docker: "{{ netdata_docker_dir }}/volumes/netdata/etc/netdata" |
||
netdata_docker_dir |
/opt/netdata-docker |
Directory for docker-compose files |
netdata_ksm_enabled |
true |
Type: bool |
netdata_required_packages_extra |
[] |
Type: list |
netdata_required_packages |
epel-release |
Type: list |
netdata_packages_extra |
[] |
Type: list |
netdata_packages |
iproute |
Type: list |
nmap-ncat |
||
lm_sensors |
||
python |
||
python-dns |
||
python-ipaddress |
||
netdata_telemetry |
false |
Type: bool |
All netdata_docker_* variables only for docker installation type.
- hosts: all
roles:
- netdataThis role can enable KSM [1], [2] via tmpfiles.
If netdata_ksm_enabled with true you can enable KSM manually:
systemd-tmpfiles --createIssues, feature requests, ideas are can be appreciated.