Playbook: Server Deployment from Scratch¶
Goal¶
Provision and configure a new server with secure and automated baseline.
Steps¶
- Provision VM or bare metal
-
Proxmox template, ISO, or cloud-init
-
Bootstrap access
useradd -m username usermod -aG wheel username
-
Harden SSH and enable firewall
- Disable root login
-
Setup
firewalld
rules -
Install and run Ansible role
ansible-playbook -i inventory bootstrap.yml
-
Tag and document
- Hostname, IP, purpose
- Add to monitoring
Output¶
Server in production with baseline config, secure access, and monitoring enabled.