/apache-ansible-role

Ansible role to install and configure apache2

Primary LanguagePythonMIT LicenseMIT

Apache2 role

This is an ansible role for installing apache2 on Ubuntu

Requirements

None

Role Variables

These are the default variables for this role

apache_packages: []

A list of packages to install for apache

apache_modules: []

A list of modules to enable

apache_service: string

The name of the apache service to start and restart the service

Defaults to 'apache2'

Example Playbook

  - hosts: servers
    roles:
        - role: apache

License

MIT