forked from rc/classroom
Added initial packages
This commit is contained in:
parent
43abbf2093
commit
ed09d8d86c
15 changed files with 72 additions and 0 deletions
4
roles/pwndbg/tasks/main.yml
Normal file
4
roles/pwndbg/tasks/main.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
||||
19
roles/pwndbg/tasks/main_lin.yml
Normal file
19
roles/pwndbg/tasks/main_lin.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
- name: Install dependencies
|
||||
apt:
|
||||
name:
|
||||
- git
|
||||
|
||||
- name: Download pwntools
|
||||
command:
|
||||
cmd: git clone https://github.com/pwndbg/pwndbg
|
||||
creates: pwndbg
|
||||
|
||||
- name: Pull latest pwntools
|
||||
command:
|
||||
cmd: git pull
|
||||
chdir: pwndbg
|
||||
|
||||
- name: Install pwntools
|
||||
command:
|
||||
cmd: ./setup.sh
|
||||
chdir: pwndbg
|
||||
2
roles/pwndbg/tasks/main_win.yml
Normal file
2
roles/pwndbg/tasks/main_win.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
- name: pwndbg uninstallable
|
||||
msg: "This task is not installable on Windows. Skipping."
|
||||
Loading…
Add table
Add a link
Reference in a new issue