Lab 1: Web Server Setup
Playbook
Inventory
---
- name: Web Server Setup Lab
hosts: localhost
become: yes
tasks:
# Task 1: Install Apache
# Add your code here
# Task 2: Create index.html
# Add your code here
# Task 3: Start Apache service
# Add your code here
localhost ansible_connection=local
Output
Waiting for playbook execution...