Skip to content

Commit e6c30ca

Browse files
committed
Allow "remote_src: false" when uploading "local" images, default to true
1 parent 231b652 commit e6c30ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/volumes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
src: "{{ item.image }}"
1313
dest: "{{ libvirt_vm_image_cache_path }}/{{ item.image | basename }}"
1414
checksum: "{{ item.checksum | default(omit) }}"
15-
remote_src: true
15+
remote_src: "{{ item.remote_src | default(true) | bool }}"
1616
with_items: "{{ volumes | selectattr('image', 'defined') | list }}"
1717
when: "'http' not in item.image"
1818

0 commit comments

Comments
 (0)