service_base var
This commit is contained in:
parent
53bfbef047
commit
6ff153b716
@ -12,7 +12,7 @@
|
|||||||
dest: '{{ temp_file.path }}/{{ item.path }}'
|
dest: '{{ temp_file.path }}/{{ item.path }}'
|
||||||
mode: "{{ item.mode }}"
|
mode: "{{ item.mode }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
with_filetree: "./templates/{{ service | mandatory }}"
|
with_filetree: "{{ service_base }}/{{ service | mandatory }}"
|
||||||
when: item.state == 'directory'
|
when: item.state == 'directory'
|
||||||
loop_control:
|
loop_control:
|
||||||
label: '{{ item.path }}'
|
label: '{{ item.path }}'
|
||||||
@ -24,7 +24,7 @@
|
|||||||
force: true
|
force: true
|
||||||
trim_blocks: false
|
trim_blocks: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
with_filetree: "./templates/{{ service | mandatory }}"
|
with_filetree: "{{ service_base }}/{{ service | mandatory }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: '{{ item.path }}'
|
label: '{{ item.path }}'
|
||||||
when: item.state == 'file'
|
when: item.state == 'file'
|
||||||
|
Loading…
Reference in New Issue
Block a user