/ansible

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

ansible

Just a handy ansible setup I use to quickly put together a VM with tools I use.

Clean install of Ubuntu 22.04 64-bit Desktop or server into a VM.

sudo apt-get update
sudo apt-get install --assume-yes ansible git

The comma at the end of inventory , is important.

sudo ansible-pull --url https://github.com/rbeede/ansible.git --inventory `hostname`, --tags all,gui pentest-machine-playbook.yml

Alternative method with local copy

ansible-playbook --connection=local --inventory=localhost, --tags all,gui pentest-machine-playbook.yml

Headless instance

sudo ansible-pull --url https://github.com/rbeede/ansible.git --inventory `hostname`, --tags all pentest-machine-playbook.yml