原文
Done! Here's what I accomplished:
Sandbox Created
- ID: SBX-demo1234
- IP: 192.168.122.50
Apache HTTP Server
- Installed and running
- Custom page at /var/www/html/index.html
- Verified working with curl
Ansible Playbook: httpd-setup
The playbook includes 4 tasks:
1. Update apt cache
2. Install Apache
3. Create custom index.html
4. Start and enable Apache service
You can run this playbook on any Ubuntu server to reproduce this setup.