Skip to content

Commit d472c33

Browse files
Variable for file extension
1 parent 9f5d934 commit d472c33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

etc/kayobe/ansible/pulp-image-upload.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
remote_pulp_password: "{{ stackhpc_image_repository_password }}"
88
repository_name: "kayobe-images-{{ openstack_release }}-{{ os_distribution }}-{{ os_release }}"
99
pulp_base_path: "kayobe-images/{{ openstack_release }}/{{ os_distribution }}/{{ os_release }}"
10+
file_extension: '*.qcow2'
1011
tasks:
1112
- name: Print image tag
1213
debug:
@@ -15,7 +16,7 @@
1516
- name: Get filename
1617
find:
1718
paths: "{{ image_path }}"
18-
patterns: '*.qcow2'
19+
patterns: "{{ file_extension }}"
1920
register: found_files
2021

2122
- name: Upload an artifact

0 commit comments

Comments
 (0)