This repository contains an Ansible role-based playbook designed to automate the setup of a penetration-testing virtual machine (VM). It configures system preferences, installs essential tools, and organizes everything for efficient offensive security operations.
- Modular Ansible roles for:
- ZSH & shell customization
- Security tool installation (from GitHub & package managers)
- Organized directory structure (
~/tools) - Designed to work with Debian-based distros (e.g., Kali, Parrot, Ubuntu)
- Make sure to update and upgrade your Kali before installing Ansible
sudo apt update && sudo apt full-upgrade -y
sudo apt install ansible- Now run the command below
git clone https://github.com/Ilesnat/Pentesting_VM_Setup && cd Pentesting_VM_Setup && ansible-playbook main.yml --ask-become-pass
# When it prompts you, put in your password for your user