Skip to content

Commit

Permalink
Fix sysprobe service detection for systemd services (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinconaway authored Dec 20, 2019
1 parent 3787f2e commit 9dbde30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/agent-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
set_fact:
datadog_sysprobe_enabled: "{{ system_probe_config is defined
and system_probe_config['enabled']
and ansible_facts.services['datadog-agent-sysprobe'] is defined }}"
and (ansible_facts.services['datadog-agent-sysprobe'] is defined or ansible_facts.services['datadog-agent-sysprobe.service'] is defined) }}"

- name: Ensure datadog-agent-sysprobe is running if enabled and installed
service:
Expand Down

0 comments on commit 9dbde30

Please sign in to comment.