Revert "Fix: openssl req -subj arg need to be "/CN="" because bad var during test

This reverts commit 8cfa0a6ef2.
This commit is contained in:
Gregory Colpart 2017-08-29 23:21:58 +02:00
parent 03f4eaf269
commit 859822709d

View file

@ -27,7 +27,7 @@
- block:
- name: Create private key and csr for default site ({{ ansible_fqdn }})
command: openssl req -newkey rsa:2048 -sha256 -nodes -keyout /etc/ssl/private/{{ ansible_fqdn }}.key -out /etc/ssl/{{ ansible_fqdn }}.csr -batch -subj "/CN={{ evolinux_default_www_ssl_subject }}"
command: openssl req -newkey rsa:2048 -sha256 -nodes -keyout /etc/ssl/private/{{ ansible_fqdn }}.key -out /etc/ssl/{{ ansible_fqdn }}.csr -batch -subj "{{ evolinux_default_www_ssl_subject }}"
args:
creates: "/etc/ssl/private/{{ ansible_fqdn }}.key"