aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorGaƫtan <36162164+gaetanfl@users.noreply.github.com>2021-11-03 10:33:24 +0100
committerGitHub <noreply@github.com>2021-11-03 10:33:24 +0100
commit9f55450f44645d9479bdbb2b9209c566f26e4d10 (patch)
tree80131ed79f1b6233db736dfc223d7dfa2de73207 /tasks/main.yml
parentd533407af1f4e5d55bb778fabf4b9b0d9bb1ed56 (diff)
parentffadb834d15c8bff62cb4133d5b5156e5dfef55b (diff)
downloadansible-netdata_straight-9f55450f44645d9479bdbb2b9209c566f26e4d10.tar.gz
ansible-netdata_straight-9f55450f44645d9479bdbb2b9209c566f26e4d10.tar.zst
ansible-netdata_straight-9f55450f44645d9479bdbb2b9209c566f26e4d10.zip
Merge pull request #2 from fretlink/add_config
Add configuration for sensors
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index ca849a3..f05eff4 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -65,3 +65,7 @@
65 - netdata_alarm_notify_configs is defined 65 - netdata_alarm_notify_configs is defined
66 - netdata_alarm_notify_configs | count > 0 66 - netdata_alarm_notify_configs | count > 0
67 notify: restart netdata 67 notify: restart netdata
68
69- name: Configure netdata sensors
70 include_tasks: config.yml
71 when: (netdata_extra_config|length > 0) or (netdata_alarms_overrides|length > 0)