diff --git a/tasks/inner.yml b/tasks/inner.yml index 0fdd917..9826867 100644 --- a/tasks/inner.yml +++ b/tasks/inner.yml @@ -1,11 +1,15 @@ --- - name: Create required directories + file: + dest: '{{ item.dest | dirname }}' + recurse: true + +- name: Set permissions for directory file: dest: '{{ item.dest | dirname }}' owner: '{{ item.owner | default(omit) }}' group: '{{ item.group | default(omit) }}' - recurse: true - name: Write file copy: