An open API service indexing awesome lists of open source software.

https://github.com/lukaspustina/ansible-role-apache

Ansible role to installs, secure Apache2, and configure sites
https://github.com/lukaspustina/ansible-role-apache

Last synced: 2 months ago
JSON representation

Ansible role to installs, secure Apache2, and configure sites

Awesome Lists containing this project

README

        

apache
==========

Installs, secures Apache2, and configures sites.

Requirements
------------

None.

Role Variables
--------------

`_apache` is used to configure apache and sites.

Dependencies
------------

None.

Example Playbook
----------------

```
- hosts: servers
vars:
APACHE:
use_default_config: False
listen:
- { ip: localhost, port: 80 }
modules:
disable: []
enable: []
sites:
- name: heimbot
enabled: True
vhost: localhost
port: 80
document_root: /var/www
server_admin: info@heimbot
extra: |+

AllowOverride All
Require all granted

roles:
- { role: apache, tags: [ 'apache' ], _apache: "{{ APACHE }}" }
```

License
-------

See LICENSE file.

Author Information
------------------

Initially created by Lukas Pustina [@drivebytesting](https://twitter.com/drivebytesting).