Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Provisioning of Apache2, it's modules, default site
https://github.com/waldz/ansible-role.apache

Last synced: 3 days ago
JSON representation

Provisioning of Apache2, it's modules, default site

Awesome Lists containing this project

README

        

# ansible-role.apache

Install
========
```
git submodule add [email protected]:Waldz/ansible-role.apache.git roles/apache
git submodule add [email protected]:weareinteractive/ansible-openssl.git roles/openssl
```

Example
========
```
- name: Basic configuration to all servers
hosts: all
sudo: true
roles:
- role: openssl
- role: apache
```

Variables
========
group_vars/all.yml
```
---

# Apache setup
apache:
default_ssl_cert: "{{ openssl_certs_path }}/{{ fqdn }}.crt"
default_ssl_key: "{{ openssl_keys_path }}/{{ fqdn }}.key"

# SSL certificates for Apache
openssl_certs_path: /etc/apache/ssl
openssl_keys_path: /etc/apache/ssl
openssl_self_signed:
- {
name: "{{ ansible_fqdn }}",
domains: ["{{ fqdn }}", "*.{{ ansible_fqdn }}"],
country: 'US',
state: 'California',
city: 'Los Angeles',
organization: 'JSC Organization',
unit: '',
email: '[email protected]',
days: 3650
}
```