Skip to content

Commit

Permalink
correct syntax when checking for config changes (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomFromTA authored Oct 30, 2023
1 parent badb008 commit f53b1ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tasks/pkg-windows-opts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,10 @@
when: agent_datadog_sysprobe_enabled

# Check for potential config changes that require a reinstall:
- name: Check NPM feature change
- name: Check NPM feature change to force a reinstallation if enabled features have changed
set_fact:
agent_datadog_skip_install: false
agent_datadog_force_reinstall: true
debug:
msg: "Forcing a reinstallation since enabled features have changed"
# Starting from agent 7.45 the NPM driver is installed by default and gets
# reported as such regardless of the provided parameters. Since we don't
# want to force the install for nothing in those version, we skip the step
Expand Down

0 comments on commit f53b1ab

Please sign in to comment.