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
- Host: GitHub
- URL: https://github.com/lukaspustina/ansible-role-apache
- Owner: lukaspustina
- License: gpl-2.0
- Created: 2015-12-30T13:22:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-28T15:18:20.000Z (about 6 years ago)
- Last Synced: 2025-02-02T02:18:42.520Z (4 months ago)
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).