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

12 lines
203 B
YAML

- hosts: web
remote_user: root
become: yes
tasks:
- name: Install Apache
yum:
name: httpd
state: installed
- name: Remove Apache
yum:
name: httpd
state: removed