Deploys Apache HTTPD on RHEL servers
- None
This role installs and configures a default set-up of an Apache HTTPD web server.
It uses a standard http.conf file and creates an empty vhosts directory at /etc/httpd/vhosts.
Include this role as part of a play to configure your base web server and then have your application-specific role set-up the necessary virtual host configuration.
apache_packages - list the httpd related packages to be installed in this role
httpd_base_path - defines the httpd base path (usually set to /etc/httpd)
httpd_conf_path - defines the httpd configuration file path
ssl_conf_path - defines the path to the directory where the ssl.conf file is stored
use_ssl - defines if the ssl.conf file should be configured to Listen on port 443
- name: uclalib_example_play.yml
sudo: true
hosts: test
roles:
- { role: uclalib_role_apache }