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.
|
- name: Check if certificate already exists.
|
||||||
stat:
|
stat:
|
||||||
path: >-
|
path: "/etc/letsencrypt/live/{% if certbot_cert_name %}{{ certbot_cert_name }}{% else %}{{ cert_item.domains | first | replace('*.', '') }}{% endif %}/cert.pem"
|
||||||
/etc/letsencrypt/live/{% if certbot_cert_name %}{{ certbot_cert_name }}
|
|
||||||
{% else %}{{ cert_item.domains | first | replace('*.', '') }}
|
|
||||||
{% endif %}/cert.pem
|
|
||||||
register: letsencrypt_cert
|
register: letsencrypt_cert
|
||||||
|
|
||||||
- name: Ensure pre and post hook folders exist.
|
- name: Ensure pre and post hook folders exist.
|
||||||
@ -58,10 +55,5 @@
|
|||||||
- name: create nginx config ssl file
|
- name: create nginx config ssl file
|
||||||
template:
|
template:
|
||||||
mode: 0750
|
mode: 0750
|
||||||
dest: >-
|
dest: "{{ certbot_nginx_conf_path }}/{% if certbot_cert_name %}{{ certbot_cert_name }}{% else %}{{ cert_item.domains | first | replace('*.', '') }}{% endif %}.ssl"
|
||||||
{{ certbot_nginx_conf_path }}/
|
|
||||||
{% if certbot_cert_name %}{{ certbot_cert_name }}
|
|
||||||
{% else %}
|
|
||||||
{{ cert_item.domains | first | replace('*.', '') }}
|
|
||||||
{% endif %}.ssl"
|
|
||||||
src: nginx_ssl_config.j2
|
src: nginx_ssl_config.j2
|
||||||
|
Loading…
Reference in New Issue
Block a user