Fix acme create

This commit is contained in:
Emilien Mantel
2018-03-22 20:35:51 +01:00
parent 3fb8f092fb
commit 3da65983bd

View File

@@ -13,7 +13,7 @@
- name: SET_FACT | Assign var with certificates to create
set_fact:
acme_create: "{{ acme_create | default([]) }}"
acme_create: "{{ acme_create | default([]) + [ (item.item) ] }}"
with_items: "{{ acme_installed_certs.results }}"
when: item.skipped is not defined and not item.stat.exists