From f9edf323cdcc7f07ab93915dde1fe9f33db66a36 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Sun, 7 Feb 2021 15:56:40 +0100 Subject: [PATCH] verzeichnis sollte da sein, bevor wir template hin rendern --- roles/dehydrated/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/dehydrated/tasks/main.yml b/roles/dehydrated/tasks/main.yml index d2b13a4..c608e83 100644 --- a/roles/dehydrated/tasks/main.yml +++ b/roles/dehydrated/tasks/main.yml @@ -15,6 +15,11 @@ dest: "{{ dehydrated_path }}" state: link +- name: Ensure config directory is present. + ansible.builtin.file: + path: "{{ dehydrated_config }}" + state: directory + - name: Ensure domains.txt is present. ansible.builtin.file: path: "{{ dehydrated_config }}/domains.txt"