diff --git a/tasks/create.yml b/tasks/create.yml index 171d6c2..677cce7 100644 --- a/tasks/create.yml +++ b/tasks/create.yml @@ -12,7 +12,7 @@ dest: '{{ temp_file.path }}/{{ item.path }}' mode: "{{ item.mode }}" changed_when: false - with_filetree: "./templates/{{ service | mandatory }}" + with_filetree: "{{ service_base }}/{{ service | mandatory }}" when: item.state == 'directory' loop_control: label: '{{ item.path }}' @@ -24,7 +24,7 @@ force: true trim_blocks: false changed_when: false - with_filetree: "./templates/{{ service | mandatory }}" + with_filetree: "{{ service_base }}/{{ service | mandatory }}" loop_control: label: '{{ item.path }}' when: item.state == 'file'