-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
falcon_install - add the ability to install from an url link for windows
- Loading branch information
Harish Segar
committed
Jun 30, 2023
1 parent
7db5c86
commit e352dfb
Showing
3 changed files
with
39 additions
and
0 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
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,18 @@ | ||
# Tasks for Installing CrowdStrike's Falcon Sensor via URL | ||
- name: CrowdStrike Falcon | Downloading Installation Package from URL (Windows) | ||
ansible.windows.win_get_url: | ||
url: "{{ falcon_download_url }}" | ||
dest: "{{ falcon_windows_tmp_dir }}\\falcon-sensor.exe" | ||
url_username: "{{ falcon_download_url_username | default(omit) }}" | ||
url_password: "{{ falcon_download_url_password | default(omit) }}" | ||
when: | ||
- falcon_download_url | ||
- falcon_windows_tmp_dir | ||
register: falcon_sensor_download | ||
retries: "{{ falcon_retries }}" | ||
delay: "{{ falcon_delay }}" | ||
until: falcon_sensor_download is success | ||
|
||
- name: CrowdStrike Falcon | Set full file download path | ||
ansible.builtin.set_fact: | ||
falcon_sensor_pkg: "{{ falcon_sensor_download.dest }}" |