Migrate shell to FQCN.

This commit is contained in:
me
2026-10-02 11:16:42 -07:00
parent 425abcff73
commit a06b5680c0
46 changed files with 138 additions and 138 deletions
+3 -3
View File
@@ -13,7 +13,7 @@
register: metasploit_status
- name: General | Software | Metasploit | Refresh Apt Files
shell: "{{ item }}"
ansible.builtin.shell: "{{ item }}"
loop:
- "mkdir -p /tmp/apt/"
- "mv -fv /usr/share/keyrings/metasploit-framework.gpg /tmp/apt/metasploit-framework.gpg.old"
@@ -25,7 +25,7 @@
ignore_errors: true
- name: General | Software | Metasploit | Install
shell: "{{ item }}"
ansible.builtin.shell: "{{ item }}"
loop:
- "curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > {{ metasploit_installer }}"
- "chmod 755 {{ metasploit_installer }}"
@@ -37,7 +37,7 @@
and pentesting
- name: General | Software | Metasploit | Remove (Darwin)
shell: "{{ item }}"
ansible.builtin.shell: "{{ item }}"
loop:
- "/opt/metasploit-framework/bin/msfremove"
when: ansible_system in ("Darwin")