-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(falcon_install): fixes issue with deleting sensor when running lo…
…cally (#584) * fix(falcon_install): fixes issue with deleting sensor when running localhost Fixes #578 This PR addresses the issue of prematurely deleting the downloaded sensor file prior to installation. We have removed the logic to it's own task file that runs at the end of the play. * chore: add changelog and some gitignore stuff
- Loading branch information
1 parent
c7060d2
commit 5bc59d9
Showing
5 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ __pycache__/ | |
/.vscode | ||
html/ | ||
ansible.cfg | ||
Vagrantfile | ||
.vagrant/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bugfixes: | ||
- falcon_install - fixes issue with premature localhost deletion of downloaded sensor (https://github.com/CrowdStrike/ansible_collection_falcon/pull/584) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- name: CrowdStrike Falcon | Remove Downloaded Sensor Installation directory (local) | ||
ansible.builtin.file: | ||
path: "{{ item }}" | ||
state: absent | ||
changed_when: false | ||
delegate_to: localhost | ||
loop: | ||
- "{{ falcon_sensor_download.path }}" | ||
- "{{ falcon_sensor_download.path + '.lock' }}" | ||
when: falcon_api_sensor_download_cleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters