Skip to content

Commit e26298b

Browse files
Try use kernel meta package
1 parent adb4152 commit e26298b

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

etc/kayobe/ansible/push-ofed.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,6 @@
4040
register: doca_kernel_repo
4141
changed_when: false
4242

43-
- name: Unpackage kernel repo
44-
ansible.builtin.shell:
45-
cmd: "rpm2cpio {{ doca_kernel_repo.stdout }} | cpio -idmv -D {{ doca_extract_path }}"
46-
47-
- name: Find extracted kernel packages
48-
ansible.builtin.shell:
49-
cmd: 'find {{ doca_extract_path }}/usr/share/doca-host-*/Modules/$(uname -r)/*.rpm'
50-
register: doca_kernel_packages
51-
5243
- name: Create Pulp repository for DOCA kernel modules
5344
pulp.squeezer.rpm_repository:
5445
pulp_url: "{{ stackhpc_release_pulp_url }}"
@@ -67,7 +58,7 @@
6758
--repository '{{ doca_modules_repo_name }}' \
6859
--file {{ item }} \
6960
--no-publish \
70-
with_items: "{{ doca_kernel_packages.stdout_lines }}"
61+
with_items: "{{ doca_kernel_repo.stdout_lines }}"
7162

7263
- name: Create Pulp publication for OFED
7364
pulp.squeezer.rpm_publication:

0 commit comments

Comments
 (0)