60 lines
1.4 KiB
YAML
60 lines
1.4 KiB
YAML
|
- name: Setup pentesting system
|
||
|
|
||
|
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
|
||
|
- 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
|
||
|
- name: Set shell to zsh
|
||
|
user:
|
||
|
name: datalore
|
||
|
shell: /bin/zsh
|
||
|
- name: Clone SecLists
|
||
|
git:
|
||
|
clone: true
|
||
|
depth: 1
|
||
|
repo: https://github.com/danielmiessler/SecLists
|
||
|
|
||
|
|
||
|
handlers:
|
||
|
- name: Enable OpenVPN service
|
||
|
service: name=openvpn-client@lab enabled=true
|
||
|
become: true
|