diff options
Diffstat (limited to 'pillar/role/web/apache-httpd.sls')
-rw-r--r-- | pillar/role/web/apache-httpd.sls | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pillar/role/web/apache-httpd.sls b/pillar/role/web/apache-httpd.sls new file mode 100644 index 0000000..bd77162 --- /dev/null +++ b/pillar/role/web/apache-httpd.sls @@ -0,0 +1,13 @@ +{%- 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"' |