ansible-netdata icon indicating copy to clipboard operation
ansible-netdata copied to clipboard

install will not take place if you clone the repository (first time usage)

Open renewfrl opened this issue 7 years ago • 1 comments

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 avatar Sep 21 '17 13:09 renewfrl

@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.

paulfantom avatar Jul 03 '18 13:07 paulfantom