Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.29 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.29 KB

SetupNewVPSWithAnsible

This Ansible playbook creates a new Linux user and applies minimal security configurations to one or more VPS's.

⚠️ This playbook was only tested on VPS's running Ubuntu 22 and 24 LTS.

How to install

git clone https://github.com/ricardotenv/SetupNewVPSWithAnsible.git
cd SetupNewVPSWithAnsible

Add the virtual machine address to the inventory.

echo <ip-address> >> hosts

How to run

ansible-playbook -i hosts -u root -e "new_username=$(whoami)" playbook.yml

TO-DO