Only try removing Metasploit if it exists.

This commit is contained in:
2026-07-30 09:25:46 -07:00
parent f46b0bad96
commit 57e8824d16
+1 -1
View File
@@ -50,5 +50,5 @@
- "apt purge metasploit-framework"
- "apt autoremove --purge"
when: ansible_system in ("Linux") and ansible_pkg_mgr == "apt"
and not metasploit_status.stat.exists
and metasploit_status.stat.exists
and pentesting == false