Skip to content

Commit

Permalink
Merge pull request #575 from redhatrises/win_uninstall
Browse files Browse the repository at this point in the history
fix: add new windows sensor name to uninstall regex
  • Loading branch information
redhatrises authored Nov 4, 2024
2 parents 26bf537 + fec9da9 commit 9b80da6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/fix-windows-uninstall-regex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- win_uninstall - add new windows sensor installer name to uninstall regex for Ansible to be able to uninstall the sensor from package cache (https://github.com/CrowdStrike/ansible_collection_falcon/pull/575)
2 changes: 1 addition & 1 deletion roles/falcon_uninstall/tasks/win_uninstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: CrowdStrike Falcon | Find Windows installer in Package Cache
ansible.windows.win_find:
paths: C:\ProgramData\Package Cache
patterns: ^(WindowsSensor.*\.)(exe)$
patterns: ^((WindowsSensor|FalconSensor_Windows).*\.)(exe)$
recurse: yes
use_regex: yes
register: falcon_win_sensor_cache
Expand Down

0 comments on commit 9b80da6

Please sign in to comment.