Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0122f086b2 | |||
| 0b878674d3 |
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user