1
0
mirror of https://github.com/geerlingguy/ansible-for-devops.git synced 2024-05-19 06:50:03 +00:00

Issue #83: Fix a couple of hardcoded paths.

This commit is contained in:
Jeff Geerling
2017-12-31 20:41:45 -06:00
parent 84e8d02efc
commit 3b6ec614aa
2 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
- name: Generate an OpenSSL CSR.
openssl_csr:
path: "/etc/ssl/private/{{ server_hostname }}.csr"
path: "{{ certificate_dir }}/{{ server_hostname }}.csr"
privatekey_path: "{{ certificate_dir }}/{{ server_hostname }}/privkey.pem"
common_name: "{{ server_hostname }}"
@@ -18,5 +18,5 @@
openssl_certificate:
path: "{{ certificate_dir }}/{{ server_hostname }}/fullchain.pem"
privatekey_path: "{{ certificate_dir }}/{{ server_hostname }}/privkey.pem"
csr_path: /etc/ssl/private/{{ server_hostname }}.csr
csr_path: "{{ certificate_dir }}/{{ server_hostname }}.csr"
provider: selfsigned

View File

@@ -17,5 +17,5 @@ nginx_ppa_version: stable
nginx_docroot: /var/www/html
# Self-signed certificate settings.
certificate_dir: /etc/letsencrypt/live
server_hostname: https.test
certificate_dir: /etc/ssl/private
server_hostname: https.test