Complete Web Server Automation with Ansible
Build a comprehensive Ansible playbook to automate web server deployment, configuration, and security hardening across multiple environments.
- Basic Ansible knowledge
- SSH access to target servers
- Understanding of web server concepts
- Familiarity with YAML syntax
- Create reusable Ansible playbooks
- Implement cross-platform compatibility
- Configure SSL certificates and security
- Use Ansible roles and variables effectively
- Implement idempotent automation
Project Structure and Inventory Setup
Create a proper Ansible project structure with inventory files and group variables.
Configure Group Variables and Templates
Set up group variables for different environments and create Nginx configuration templates.
Create Dynamic Nginx Configuration Template
Build a comprehensive Nginx configuration template with SSL, security headers, and performance optimizations.
Create Main Deployment Playbook
Build the main playbook that orchestrates the entire web server deployment and configuration.
Create Dynamic Index Page Template
Build a dynamic index page that displays server information and deployment details.
Test and Validate Deployment
Run comprehensive tests to validate the web server deployment and configuration.
Found an issue?
More exercises
Linux
Deploying a Web Application with Nginx and SSL
Install Nginx on your Ubuntu server, configure server blocks for your domain, and set up free SSL certificates with Let's Encrypt and Certbot.
60 minutes
CI/CD
Complete CI/CD Pipeline with GitHub Actions
Hands-on lab: build a production CI/CD pipeline with GitHub Actions, including tests, security scanning, container builds, and automated deployment.
90 minutes
DevOps
GitOps with ArgoCD - Automated Kubernetes Deployments
Implement GitOps workflows using ArgoCD for automated, declarative, and auditable Kubernetes application deployments.
120 minutes
Also worth your time on this topic
Deploying a Web Application with Nginx and SSL
Install Nginx on your Ubuntu server, configure server blocks for your domain, and set up free SSL certificates with Let's Encrypt and Certbot.
60 minutes
Configuration Management Basics
What is configuration management? Why is it important and what tools are commonly used?
junior
NGINX Rift (CVE-2026-42945): The 18-Year-Old Rewrite Bug That Hands an Attacker Your Worker Process
An autonomous code-audit tool found an 18-year-old heap overflow in NGINX's rewrite module. Affects every release from 0.6.27 through 1.30.0, plus NGINX Plus and the entire F5 product line. Full RCE PoC is public. Here is the one-line config grep that tells you whether you are exposed, the patch matrix, and what to do about the long tail of products that bundle the vulnerable nginx without a vendor patch yet.