2023-02-19 13:40:47 +01:00
|
|
|
{%- set host = grains['host'] -%}
|
|
|
|
{%- set fqdn = grains['fqdn'] -%}
|
|
|
|
|
2023-02-19 00:36:43 +01:00
|
|
|
apache:
|
|
|
|
global:
|
|
|
|
ServerAdmin: system@lysergic.dev
|
2023-02-19 13:40:47 +01:00
|
|
|
|
|
|
|
profile:
|
|
|
|
apache-httpd:
|
|
|
|
snippets:
|
|
|
|
ssl_{{ host }}:
|
|
|
|
- 'SSLCertificateFile "/etc/ssl/{{ host }}/{{ fqdn }}.crt"'
|
|
|
|
- 'SSLCertificateKeyFile "/etc/ssl/{{ host }}/{{ fqdn }}.key"'
|