2025-01-05 21:23:26 +01:00
|
|
|
- name: Setup pentesting system
|
2025-01-05 21:38:57 +01:00
|
|
|
hosts: localhost
|
2025-01-05 21:23:26 +01:00
|
|
|
|
|
|
|
tasks:
|
|
|
|
- name: Package management
|
|
|
|
block:
|
|
|
|
- name: Update System
|
|
|
|
pacman: update_cache=true upgrade=true
|
|
|
|
- name: Install common tools
|
|
|
|
pacman:
|
|
|
|
pkg:
|
|
|
|
- neovim
|
|
|
|
- fakeroot
|
|
|
|
- yay
|
|
|
|
- kitty
|
|
|
|
- eza
|
|
|
|
- bat
|
|
|
|
- zoxide
|
|
|
|
- ttf-envycoder-nerd
|
|
|
|
- thefuck
|
|
|
|
- nmap
|
|
|
|
- john
|
|
|
|
- openvpn
|
|
|
|
- jre21-openjdk
|
|
|
|
- zaproxy
|
2025-01-05 21:26:29 +01:00
|
|
|
- zellij
|
2025-01-05 21:23:26 +01:00
|
|
|
- name: Install OpenVPN config
|
|
|
|
copy:
|
|
|
|
src: lab.ovpn
|
|
|
|
dest: /etc/openvpn/client/lab.conf
|
|
|
|
ignore_errors: true
|
|
|
|
notify: Enable OpenVPN service
|
|
|
|
become: true
|
|
|
|
- name: Copy kitty config
|
|
|
|
copy:
|
|
|
|
src: kitty.conf
|
|
|
|
dest: ~/.config/kitty/kitty.conf
|
|
|
|
- name: Copy nvim config
|
|
|
|
copy:
|
|
|
|
src: init.lua
|
|
|
|
dest: ~/.config/nvim/init.lua
|
|
|
|
- name: Copy .zshrc
|
|
|
|
copy:
|
|
|
|
src: zshrc
|
|
|
|
dest: ~/.zshrc
|
|
|
|
force: yes
|
2025-01-05 21:26:29 +01:00
|
|
|
- name: Copy zellij config
|
|
|
|
copy:
|
|
|
|
src: config.kdl
|
|
|
|
dest: ~/.config/zellij/config.kdl
|
2025-01-05 21:23:26 +01:00
|
|
|
- name: Set shell to zsh
|
|
|
|
user:
|
|
|
|
name: datalore
|
|
|
|
shell: /bin/zsh
|
|
|
|
- name: Clone SecLists
|
|
|
|
git:
|
|
|
|
clone: true
|
|
|
|
depth: 1
|
2025-01-05 21:38:57 +01:00
|
|
|
dest: ~/SecLists
|
2025-01-05 21:23:26 +01:00
|
|
|
repo: https://github.com/danielmiessler/SecLists
|
|
|
|
|
|
|
|
|
2025-01-05 21:38:57 +01:00
|
|
|
handlers:
|
|
|
|
- name: Enable OpenVPN service
|
|
|
|
service: name=openvpn-client@lab enabled=true
|
|
|
|
become: true
|