correct trailling space in result
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cbffef1561
commit
282ad8b13d
@ -1,10 +1,7 @@
|
||||
---
|
||||
- name: Check if certificate already exists.
|
||||
stat:
|
||||
path: >-
|
||||
/etc/letsencrypt/live/{% if certbot_cert_name %}{{ certbot_cert_name }}
|
||||
{% else %}{{ cert_item.domains | first | replace('*.', '') }}
|
||||
{% endif %}/cert.pem
|
||||
path: "/etc/letsencrypt/live/{% if certbot_cert_name %}{{ certbot_cert_name }}{% else %}{{ cert_item.domains | first | replace('*.', '') }}{% endif %}/cert.pem"
|
||||
register: letsencrypt_cert
|
||||
|
||||
- name: Ensure pre and post hook folders exist.
|
||||
@ -58,10 +55,5 @@
|
||||
- name: create nginx config ssl file
|
||||
template:
|
||||
mode: 0750
|
||||
dest: >-
|
||||
{{ certbot_nginx_conf_path }}/
|
||||
{% if certbot_cert_name %}{{ certbot_cert_name }}
|
||||
{% else %}
|
||||
{{ cert_item.domains | first | replace('*.', '') }}
|
||||
{% endif %}.ssl"
|
||||
dest: "{{ certbot_nginx_conf_path }}/{% if certbot_cert_name %}{{ certbot_cert_name }}{% else %}{{ cert_item.domains | first | replace('*.', '') }}{% endif %}.ssl"
|
||||
src: nginx_ssl_config.j2
|
||||
|
Loading…
Reference in New Issue
Block a user