Skip to content
Snippets Groups Projects
Commit f80aaf31 authored by jurgenhaas's avatar jurgenhaas
Browse files

Bug fix

parent dbe3b1c4
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
src: '/opt/{{ netdata_local_archive }}.zip'
dest: '/opt'
remote_src: yes
register: netdata_clone
register: netdata_extract
when: netdata_local_archive is defined
notify:
- "Restart NetData"
......@@ -26,4 +26,4 @@
shell: ./netdata-installer.sh --dont-wait
args:
chdir: /opt/{{ netdata_local_archive|default('netdata') }}
when: netdata_clone.changed
when: netdata_clone.changed or netdata_extract.changed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment