mirror of
https://github.com/badsectorlabs/ludus_elastic_agent
synced 2026-06-08 13:14:32 +00:00
fix(windows): 🐛 correct the logic around installing sysmon to respect explicit false settings
fix #6 Signed-off-by: kernel-sanders <1490292+kernel-sanders@users.noreply.github.com>
This commit is contained in:
+4
-2
@@ -83,5 +83,7 @@
|
||||
- name: Install Sysmon if required
|
||||
ansible.builtin.include_tasks: sysmon.yml
|
||||
when:
|
||||
- (ludus_elastic_install_sysmon is none and ludus_elastic_agent_version is version('9.0.0', '>='))
|
||||
or (ludus_elastic_install_sysmon | default(true, true))
|
||||
- ludus_elastic_install_sysmon | default(
|
||||
ludus_elastic_agent_version is version('9.0.0', '>='),
|
||||
false
|
||||
) | bool
|
||||
|
||||
Reference in New Issue
Block a user