27 lines
484 B
YAML
27 lines
484 B
YAML
|
---
|
||
|
# tasks file for ansible-netdata
|
||
|
|
||
|
- include_tasks: set_facts.yml
|
||
|
|
||
|
- include: debian.yml
|
||
|
when: ansible_os_family == "Debian"
|
||
|
|
||
|
- include: redhat.yml
|
||
|
when: ansible_os_family == "RedHat"
|
||
|
|
||
|
- include: install.yml
|
||
|
|
||
|
- include: config.yml
|
||
|
when: netdata_config
|
||
|
|
||
|
- include: update.yml
|
||
|
when: netdata_update or netdata_update_force
|
||
|
|
||
|
- include: auto_updates.yml
|
||
|
when: netdata_auto_updates['enabled']
|
||
|
|
||
|
- include: uninstall.yml
|
||
|
when: netdata_uninstall
|
||
|
tags:
|
||
|
- netdata_uninstall
|