diff options
author | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2021-04-28 16:49:16 +0200 |
---|---|---|
committer | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2021-04-28 17:01:14 +0200 |
commit | 8916f8fa2167abad24cfdd2a9e305160d83a6958 (patch) | |
tree | 4ca417c914c3a84cd6ddeb30158a7ae4746ddb54 /tasks/main.yml | |
parent | 0b423e4532da6a8e65b0cc5de00fe786c82d5013 (diff) | |
download | ansible-netdata_straight-8916f8fa2167abad24cfdd2a9e305160d83a6958.tar.gz ansible-netdata_straight-8916f8fa2167abad24cfdd2a9e305160d83a6958.tar.zst ansible-netdata_straight-8916f8fa2167abad24cfdd2a9e305160d83a6958.zip |
feature: add sensor configuration
Diffstat (limited to 'tasks/main.yml')
-rw-r--r-- | tasks/main.yml | 4 |
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) | ||