first commit

This commit is contained in:
root
2024-07-12 12:58:40 +02:00
commit 30fdad3be5
557 changed files with 11142 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
---
# tasks file for linux_install-sentinelone
- name: remove s1
command: cd ~ ; systemctl stop sentinelone.service ; systemctl disable sentinelone.service ; rm -rf /usr/lib/systemd/system/sentinelone.service ; rm -rf /lib/systemd/system/sentinelone.service ; systemctl daemon-reload ; systemctl reset-failed ; ps aux | grep 's1-\|sentinelone-watchdog' | awk '{print $2}' | xargs kill -9 2> /dev/null ; umount -l /opt/sentinelone/mount ; umount -l /opt/sentinelone/cgroups/memory ; umount -l /opt/sentinelone/rpm_mount ; rm -rf /opt/sentinelone/ ; rm -rf /opt/sentinelone ; userdel -f sentinelone ; rm -rf /var/lib/dpkg/info/sentinelagent.* ; dpkg --purge --force-all sentinelagent ; echo "SentinelOne Agent Successfully Uninstalled"
become_user: root
become_method: sudo
become: true