Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/waldz/ansible-role.apache
- Owner: Waldz
- Created: 2016-01-15T08:51:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-25T16:47:56.000Z (almost 9 years ago)
- Last Synced: 2024-11-09T21:48:38.126Z (2 months ago)
- Language: HTML
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
}
```