From 6ff153b7165b500dd8e5ccb20e9cff98ef46206f Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Fri, 5 May 2023 22:30:21 +0200 Subject: [PATCH] service_base var --- tasks/create.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'