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"