Skip to content

sgurnick/ansible_uclalib_role_apache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UCLALib Ansible Role: Apache HTTPD

Deploys Apache HTTPD on RHEL servers

Dependencies

  • 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.

Variables

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

Example Usage in a Play

- name: uclalib_example_play.yml
  sudo: true
  hosts: test

    roles:
      - { role: uclalib_role_apache }

About

Ansible role to install Apache HTTPD on RHEL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ApacheConf 100.0%