ansible/roles/netdata/tasks/update.yml
2021-01-23 18:45:20 -06:00

16 lines
475 B
YAML

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