Skip to content

Commit 56db7dd

Browse files
committed
Fix copy_rpms.yml
The json_query filter raises 'Invalid plugin FQCN (community.general.json_query): unable to locate collection community.general'. Hence, we replace json_query filter with map(attribute='path').
1 parent 20718fa commit 56db7dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/modify_container_image/tasks/copy_rpms.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
- name: Set rpms_list
1111
set_fact:
12-
rpms_list: "{{ context_rpms.files|json_query('[*].path') }}"
12+
rpms_list: "{{ context_rpms.files|map(attribute='path') }}"
1313
when: rpms_path is defined
1414

1515
- name: Copy RPMs to context dir

0 commit comments

Comments
 (0)