Newer
Older
when: netdata_local_archive is not defined
notify:
unarchive:
src: /opt/{{ netdata_local_archive }}.zip
dest: /opt
remote_src: yes
when: netdata_local_archive is defined
shell: ./netdata-installer.sh --dont-wait
args:
chdir: /opt/{{ netdata_local_archive|default('netdata') }}
template:
src: '{{ item }}.chart.sh'
dest: /usr/libexec/netdata/charts.d/{{ item }}.chart.sh
src: health/{{ item }}.conf
dest: /etc/netdata/health.d/{{ item }}.conf
- name: Register Host in Cloud
shell: netdata-claim.sh -token={{ netdata_cloud.token }} -rooms={{ netdata_cloud.room }} -url=https://app.netdata.cloud