From 4b37aa2d49a528588d860b8ff97c2417d3c7e51b Mon Sep 17 00:00:00 2001 From: David Kilias Date: Tue, 23 Feb 2021 21:12:36 +0100 Subject: [PATCH] domains need a default --- roles/dehydrated/defaults/main.yml | 1 + roles/dehydrated/tasks/main.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/dehydrated/defaults/main.yml b/roles/dehydrated/defaults/main.yml index 74a8e83..41442df 100644 --- a/roles/dehydrated/defaults/main.yml +++ b/roles/dehydrated/defaults/main.yml @@ -6,3 +6,4 @@ dehydrated_binary: "/usr/local/bin/dehydrated" dehydrated_config_dir: "/usr/local/etc/dehydrated" dehydrated_certs_dir: "{{ dehydrated_config_dir }}/certs" dehydrated_wellknown_dir: "{{ dehydrated_config_dir }}/challenge" +dehydrated_domains: \ No newline at end of file diff --git a/roles/dehydrated/tasks/main.yml b/roles/dehydrated/tasks/main.yml index 90c9742..f440275 100644 --- a/roles/dehydrated/tasks/main.yml +++ b/roles/dehydrated/tasks/main.yml @@ -1,3 +1,4 @@ --- - include_tasks: install.yml -- include_tasks: domains.yml \ No newline at end of file +- include_tasks: domains.yml + when: dehydrated_domains is iterable \ No newline at end of file