ansible/roles/netdata/tasks/update.yml

16 lines
475 B
YAML
Raw Normal View History

2021-01-23 18:45:20 -06:00
---
- name: update | Updating Netdata ({{ netdata_updater }}) From {{ netdata_source_dir }}
command: "{{ netdata_updater }}"
args:
chdir: "{{ netdata_source_dir }}"
become: true
notify: restart netdata
when: not netdata_update_force|bool
- name: update | Force Updating Netdata ({{ netdata_updater }}) From {{ netdata_source_dir }}
command: "{{ netdata_updater }} -f"
args:
chdir: "{{ netdata_source_dir }}"
become: true
when: netdata_update_force