From cd60a56c2553c7f579a436600e3c2413a03e619e Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Fri, 19 May 2017 23:38:15 -0700 Subject: [PATCH] Fix incorrect handler name The handler name is `restart datadog-agent`. The process check update `notify` call was using an incorrect name, so would never actually trigger the handler. --- tasks/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 308db1d3..633ed7fe 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -17,7 +17,7 @@ - name: Add process check configuration template: src=process.yaml.j2 dest=/etc/dd-agent/conf.d/process.yaml when: datadog_process_checks is defined - notify: restart datadog + notify: restart datadog-agent - debug: 'msg="[DEPRECATION NOTICE] Using `datadog_process_checks` is deprecated, use `process` under `datadog_checks` instead"' when: datadog_process_checks is defined @@ -37,5 +37,4 @@ owner: '{{ datadog_user }}' group: '{{ datadog_group }}' with_items: '{{ datadog_checks|list }}' - notify: - - restart datadog-agent + notify: restart datadog-agent