Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add new windows sensor name to uninstall regex #575

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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