Commit c362dcf9 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

rettels varname

parent ed8db439
......@@ -16,7 +16,7 @@
- name: "create directory for vhosts"
file:
path: "{{ apache_digicert_uib_home }}/archive/{{ item.name }}"
path: "{{ apache_digicert_uib_home }}/archive/{{ item.servername }}"
state: "directory"
owner: "root"
group: "root"
......@@ -38,7 +38,7 @@
- name: "generate ssl private key"
openssl_privatekey:
path: "{{ apache_digicert_uib_home }}/archive/{{ item.name }}/priv_key.pem"
path: "{{ apache_digicert_uib_home }}/archive/{{ item.servername }}/priv_key.pem"
backup: "yes"
size: "2048"
loop: "{{ apache_vhosts }}"
......@@ -48,7 +48,7 @@
openssl_csr:
backup: "yes"
path: "{{ apache_digicert_uib_home }}/csr//{{ domain_list[0].dns_server }}.csr"
privatekey_path: /etc/pki/tls/{{ item.name }}.pem
privatekey_path: /etc/pki/tls/{{ item.servername }}.pem
country_name: "NO"
organization: "Universitetet_i_Bergen"
common_name: "{{ domain_list[0].name }}"
......
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