Back to course

Ansible for Automated Hardening

Modern DevSecOps (The Hard Way)

Scaling Security with Ansible

You have 100 servers. You can't harden them manually. Ansible allows you to define a 'Secure State' and enforce it.

Practical task:

Write an Ansible Playbook that:

  1. Updates the OS.
  2. Disables Root SSH login.
  3. Configures a firewall.
  4. Installs fail2ban.