Skip to content
Snippets Groups Projects
Commit 6a55fd77 authored by jurgenhaas's avatar jurgenhaas
Browse files

Bug fix

parent 6302dd0d
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
- block:
- name: "LetsEncrypt Certificates"
include: letsencrypt.yml
with_items: '{{ proxy_certificates_letsencrypt }}'
with_items: '{{ proxy_certificates_letsencrypt|default([]) }}'
# Renewing certificates is only possible generelly, not individually.
- name: "Renew Existing Cert"
......@@ -13,7 +13,7 @@
- name: "Create PEM file for HaProxy"
shell: cat /etc/letsencrypt/live/{{ item.domain }}/fullchain.pem /etc/letsencrypt/live/{{ item.domain }}/privkey.pem > /etc/haproxy/certs/{{ item.domain }}.pem
with_items: '{{ proxy_certificates_letsencrypt }}'
with_items: '{{ proxy_certificates_letsencrypt|default([]) }}'
when: '"letsencrypt" not in excluded_roles'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment