Commit 2f4dd156 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

handle 1 domain, no alias

parent bfc1b509
......@@ -51,7 +51,9 @@
privatekey_path: /etc/pki/tls/{{ item.servername }}.pem
country_name: "NO"
organization: "Universitetet_i_Bergen"
common_name: "{{ domain_list[0].name }}"
common_name: "{{ domain_list[0].servername }}"
loop: "{{ apache_vhosts }}"
when: "item.ssl_type | default('certbot')== 'uib'"
#- name: "get certificate url from ITA"
# prompt_vars:
......
Supports Markdown
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