summaryrefslogtreecommitdiffstats
path: root/pillar/role/web/apache-httpd.sls
blob: bd77162a473c6f405ff318f916570c16c9e2f76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"'