-
Notifications
You must be signed in to change notification settings - Fork 41
/
metasploit.yml
31 lines (27 loc) · 806 Bytes
/
metasploit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
- name: Metasploit
hosts: all
tasks:
- name: Install core deps
apt:
name:
- libpq-dev
- libpcap0.8-dev
- name: Clone Repository
git:
repo: https://github.com/rapid7/metasploit-framework
dest: "{{ ansible_env.HOME }}/Tools/metasploit"
- name: Install Ruby
shell: rvm install ruby-`(cat .ruby-version)`
args:
chdir: "{{ ansible_env.HOME }}/Tools/metasploit"
executable: /usr/bin/fish
- name: Install Bundler
shell: gem install bundler
args:
chdir: "{{ ansible_env.HOME }}/Tools/metasploit"
executable: /usr/bin/fish
- name: Install Gems
shell: bundle install
args:
chdir: "{{ ansible_env.HOME }}/Tools/metasploit"
executable: /usr/bin/fish