Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Apache Ansible role
https://github.com/aplyca/ansible-role-apache

ansible ansible-galaxy ansible-roles apache

Last synced: 4 days ago
JSON representation

Apache Ansible role

Awesome Lists containing this project

README

        

Ansible Role: Apache 2.x
==========================

[![Build Status](https://travis-ci.org/Aplyca/ansible-role-apache.svg?branch=master)](https://travis-ci.org/Aplyca/ansible-role-apache)
[![Circle CI](https://circleci.com/gh/Aplyca/ansible-role-apache.png?style=badge)](https://circleci.com/gh/Aplyca/ansible-role-apache)

Ansible Role that installs an configure Apache 2.x on Debian/Ubuntu.

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

Use hash behavior for variables in ansible.cfg
See example: https://github.com/Aplyca/ansible-role-apache/blob/master/tests/ansible.cfg
See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour

Installation
------------

Using ansible galaxy:
```bash
ansible-galaxy install Aplyca.Apache
```
You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:
```yaml
dependencies:
- { role: Aplyca.Apache }
```

Role tags
---------
* apache_vhost
* apache_config
* apache_ports

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

See default variables: https://github.com/Aplyca/ansible-role-apache/blob/master/defaults/main.yml

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

None.

Testing
-------
Using Vagrant:

```bash
tests/vagrant.sh
```
Using Docker:

```bash
tests/docker.sh
```

You should see an Apache server on http://localhost:8080

License
-------

MIT / BSD

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

Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)