Commit 481506ba authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

templat for body uib ssl

parent db67ea3a
......@@ -60,6 +60,7 @@
country_name: "NO"
organization_name: "Universitetet_i_Bergen"
common_name: "{{ item.servername }}"
subject_altname: "{{ item.altname | default(omit) }}"
loop: "{{ apache_vhosts }}"
when: "item.ssl_type | default('certbot')== 'uib'"
register: "apache_csr_result"
......@@ -70,6 +71,15 @@
to: "{{ item.serveradmin }}"
attach:
- "{{ apache_digicert_uib_csr}}/{{ item.servername }}.csr"
body: |
Ønsker å bestille SSL sertifikat.
common_name "{{ item.servername }}"
altname: "{{ item.altname | default ('ingen') }}"
wildcard: "{{ ite.wildcard | default ('nei') }}"
Kan dere også oppdatere sertifikatdatasen (CMDB)?
Takk for hjelpen.
Mvh
loop: "{{ apache_vhosts }}"
when: "item.ssl_type | default('certbot')== 'uib' and apache_csr_result.changed | bool"
......
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