Chad
e66dbed7a8
* Add an alternative to Audacity. * Remove the Brave Browser since the repo has started failing and I only use Firefox browsers these days. * Remove alias audacity for tenacity. * Ignore if the repos are already removed. * Stop installing Telegraf. * Add the new dconf name for System Monitor. * Remove the download if it already exists. Force the move. * Fix overwrite prompt for Metasploit. * Don't do flatpaks during a battery device's goodbye. * Fix variable case, add quotes. * Fix double quotes. * Add full set of commands for compressing videos. * Fix trash size checking to work for folders. * Allow only updating system or Flatpak programs. * Also check the DE trash folder. * No longer have Flatpaks contingent on system updates. * Improve variable names and flow. * Fix maxdepth. * Check network mounts for hidden trash folders. * Add media. Only restrict maxdepth for Home directory. * Properly check media. * Ensure hidden files also get seen and removed.
19 lines
788 B
YAML
19 lines
788 B
YAML
---
|
|
# Install Metasploit Framework
|
|
|
|
- name: General | Software | Metasploit | Facts
|
|
set_fact:
|
|
metasploit_installer: msfinstall
|
|
when: ansible_system in ("Linux", "Darwin")
|
|
|
|
- name: General | Software | Metasploit | Install
|
|
shell: "{{ item }}"
|
|
loop:
|
|
- "mv -fv /usr/share/keyrings/metasploit-framework.gpg /usr/share/keyrings/metasploit-framework.gpg.old"
|
|
- "curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > {{ metasploit_installer }}"
|
|
- "chmod 755 {{ metasploit_installer }}"
|
|
- "mkdir -p {{ global_bin }}"
|
|
- "mv -fv ./msfinstall {{ global_bin }}/{{ metasploit_installer }}"
|
|
- "{{ global_bin }}/{{ metasploit_installer }}"
|
|
when: ansible_system in ("Linux", "Darwin")
|