Ansible role to install and configure Netdata
Requires bash.
See defaults/main.yml
for all available variables and there usage info.
No dependencies.
In your ansible project's root, run:
ansible-galaxy install git+https://github.com/bytepark/ansible-netdata.git,master
ℹ️ Add --force
after the command to force update your local role with latest from github.
ℹ️ You can choose another branch by changing master
to your desired branch.
- hosts: servers
roles:
- { role: bytepark.netdata }
If netdata service cannot start, there might be a file/folder permission issue, fix it by running the following on the host (not on your ansible machine)
#Fixes netdata service start errors:
chown -R netdata:root /var/lib/netdata
chown -R netdata:root /etc/netdata
MIT
bytepark / 2019.