Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0122f086b2 | |||
| 0b878674d3 |
@@ -44,11 +44,10 @@
|
||||
and not metasploit_status.stat.exists
|
||||
and pentesting == false
|
||||
|
||||
- name: General | Software | Metasploit | Remove (APT)
|
||||
shell: "{{ item }}"
|
||||
loop:
|
||||
- "apt purge metasploit-framework"
|
||||
- "apt autoremove --purge"
|
||||
when: ansible_system in ("Linux") and ansible_pkg_mgr == "apt"
|
||||
- name: General | Software | Metasploit | Remove
|
||||
package:
|
||||
name: "metasploit-framework"
|
||||
state: absent
|
||||
when: ansible_system in ("Linux")
|
||||
and metasploit_status.stat.exists
|
||||
and pentesting == false
|
||||
|
||||
@@ -31,7 +31,9 @@
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | Conflicts | Remove
|
||||
package:
|
||||
name: "{{ ppd_package }} {{ acf_package }}"
|
||||
name:
|
||||
- "{{ ppd_package }}"
|
||||
- "{{ acf_package }}"
|
||||
state: absent
|
||||
|
||||
## Install TLP + Associated Software ##
|
||||
@@ -84,4 +86,4 @@
|
||||
name: "{{ tlp_service }}"
|
||||
state: started
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user