From 66bae1bb9971ad547f40c73bb7b84e00929dee59 Mon Sep 17 00:00:00 2001 From: Patrick Maslana Date: Mon, 25 Nov 2024 20:07:07 -0700 Subject: [PATCH] Switch from apt to dpkg due to weird behavior when attempting to install from apt --- sentinel-one/tasks/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sentinel-one/tasks/main.yml b/sentinel-one/tasks/main.yml index 8f2cfcd..ca2f830 100644 --- a/sentinel-one/tasks/main.yml +++ b/sentinel-one/tasks/main.yml @@ -44,10 +44,8 @@ when: sentinelone_status is not defined or sentinelone_status.failed - name: Install SentinelOne package - ansible.builtin.apt: - deb: /tmp/SentinelAgent_linux_v{{ sentinelone_version }}.deb - state: present - allow_downgrade: true + ansible.builtin.command: + cmd: dpkg -i /tmp/SentinelAgent_linux_v{{ sentinelone_version }}.deb become: true environment: S1_AGENT_INSTALL_CONFIG_PATH: "/tmp/s1-config.cfg"