ansible-netdata
ansible-netdata copied to clipboard
install will not take place if you clone the repository (first time usage)
Solution:
- name: Netdata check if first time install
stat: path=/etc/netdata
register: path_netdata
and to determine whether to install:
- name: "Installation"
shell: cd /usr/src/netdata/ && ./netdata-installer.sh --dont-wait --libs-are-really-here
notify: Restart netdata
when: gitupdate.changed or not path_netdata.stat.exists
(great project btw. Thanks)
@renewfrl could you gove more context? What is the error without your fix? Have you maybe tried our newest version? I need those because our tests doesn't show any errors on first time installations.