← Week 22 | Overview | Week 24 →
Week 23 - Ansible I¶
Phase 7: Automation, monitoring, capstone (Weeks 23-26)
- Done
Goal: Make server setup repeatable.
Exercises:
- Install Ansible; inventory, ad-hoc commands, playbooks, modules, variables, handlers.
- Idempotency: run the same playbook twice and read the changed counts.
- Jinja2 templates for nginx and the systemd unit.
- First playbook: users, SSH hardening, ufw and unattended-upgrades.
Deliverable: A base-hardening playbook that turns a fresh VM into your standard server.
My notes: week-23-notes.md