Commit 1aede9d8 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

add apache_mail_host for setting host to deliver mail

parent a05b1cf6
......@@ -76,6 +76,7 @@
sender: "ansible@{{ apache_cert_vhost.servername }}"
subject: "csr certificate request for {{ apache_cert_vhost.servername }}"
to: "{{ apache_cert_vhost.serveradmin }}"
host: "{{ apache_mail_host | default(omit) }}"
attach:
- "{{ apache_digicert_uib_csr}}/{{ apache_cert_vhost.servername }}.csr"
body: |
......@@ -89,6 +90,7 @@
Takk!
when: "apache_cert_vhost.ssl_type | default('certbot')== 'uib' and apache_csr_result.changed | bool"
become: true
- name: "create symlinks for private keys"
file:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment