ansible.netdata/tasks/main.yml

16 lines
411 B
YAML
Raw Normal View History

2018-07-26 17:02:22 +02:00
---
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
#
# tasks file for netdata
# Manage base system packages [[[1
- name: Ensure base packages are in there desired state
package:
name: '{{ item }}'
state: '{{ "present" if (netdata__deploy_state == "present") else "absent" }}'
install_recommends: '{{ netdata__install_recommends | bool }}'
with_flattened:
- '{{ netdata__base_packages }}'