Files
courses/ansible-course/terraform/playbook.yaml
T
2025-05-20 11:57:43 -04:00

12 lines
207 B
YAML

- hosts: all
remote_user: ec2-user
become: yes
tasks:
- name: Install Apache
yum:
name: httpd
state: installed
- name: Remove Apache
yum:
name: httpd
state: removed