Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions rhel/apache/apache_only.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
- name: Apache server installed
hosts: web

tasks:
- name: latest Apache version installed
yum:
name: httpd
state: latest

- name: Apache enabled and running
service:
name: httpd
enabled: true
state: started