Compare commits

..

2 Commits

2 changed files with 9 additions and 8 deletions
+5 -6
View File
@@ -44,11 +44,10 @@
and not metasploit_status.stat.exists and not metasploit_status.stat.exists
and pentesting == false and pentesting == false
- name: General | Software | Metasploit | Remove (APT) - name: General | Software | Metasploit | Remove
shell: "{{ item }}" package:
loop: name: "metasploit-framework"
- "apt purge metasploit-framework" state: absent
- "apt autoremove --purge" when: ansible_system in ("Linux")
when: ansible_system in ("Linux") and ansible_pkg_mgr == "apt"
and metasploit_status.stat.exists and metasploit_status.stat.exists
and pentesting == false and pentesting == false
+4 -2
View File
@@ -31,7 +31,9 @@
- name: Workstation | Linux | Software | TLP | Conflicts | Remove - name: Workstation | Linux | Software | TLP | Conflicts | Remove
package: package:
name: "{{ ppd_package }} {{ acf_package }}" name:
- "{{ ppd_package }}"
- "{{ acf_package }}"
state: absent state: absent
## Install TLP + Associated Software ## ## Install TLP + Associated Software ##
@@ -84,4 +86,4 @@
name: "{{ tlp_service }}" name: "{{ tlp_service }}"
state: started state: started
enabled: true enabled: true
when: ansible_service_mgr != "runit" # TBD: Figure out how to do this. when: ansible_service_mgr != "runit" # TBD: Figure out how to do this on runit.