verzeichnis sollte da sein, bevor wir template hin rendern

This commit is contained in:
David Kilias 2021-02-07 15:56:40 +01:00
parent ff09f23dd0
commit f9edf323cd

View file

@ -15,6 +15,11 @@
dest: "{{ dehydrated_path }}" dest: "{{ dehydrated_path }}"
state: link state: link
- name: Ensure config directory is present.
ansible.builtin.file:
path: "{{ dehydrated_config }}"
state: directory
- name: Ensure domains.txt is present. - name: Ensure domains.txt is present.
ansible.builtin.file: ansible.builtin.file:
path: "{{ dehydrated_config }}/domains.txt" path: "{{ dehydrated_config }}/domains.txt"