apache
https://galaxy.ansible.com/crivetimihai/apache
ansible-galaxy install crivetimihai.apache- For RHEL, a Red Hat subscription or functional local repository.
apache_enable_service: true
apache_copy_templates: true
apache_firewall_configure: true
apache_firewall_rules:
- service: http
- service: https
- For Red Hat, subscription-manager.
---
- name: Install apache on localhost
hosts:
- localhost
connection: local
tasks:
- name: apache is configured
import_role:
name: crivetimihai.apache
vars:
apache_enable_service: true
apache_copy_templates: true
apache_firewall_configure: true
apache_firewall_rules:
- service: http
- service: https
tags: apacheMIT