Georg Pfuetzenreuter
4653655010
- add apache-httpd profile with snippets configuration - add TLS snippet to apache-httpd role pillar Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
14 lines
321 B
Django/Jinja
14 lines
321 B
Django/Jinja
{%- set host = grains['host'] -%}
|
|
{%- set fqdn = grains['fqdn'] -%}
|
|
|
|
apache:
|
|
global:
|
|
ServerAdmin: system@lysergic.dev
|
|
|
|
profile:
|
|
apache-httpd:
|
|
snippets:
|
|
ssl_{{ host }}:
|
|
- 'SSLCertificateFile "/etc/ssl/{{ host }}/{{ fqdn }}.crt"'
|
|
- 'SSLCertificateKeyFile "/etc/ssl/{{ host }}/{{ fqdn }}.key"'
|