We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60784f6 commit d5f8cd5Copy full SHA for d5f8cd5
etc/kayobe/ansible/push-ofed.yml
@@ -15,6 +15,11 @@
15
state: present
16
retries: "{{ pulp_timeout_retries | default(3) }}"
17
18
+ - name: Lookup Pulp RPMs on builder
19
+ ansible.builtin.find:
20
+ paths: "/home/cloud-user/ofed"
21
+ register: rpm_dir
22
+
23
- name: Upload OFED RPMs to Pulp
24
ansible.builtin.shell:
25
cmd: |
@@ -25,8 +30,8 @@
30
rpm content \
26
31
--type package upload \
27
32
--repository '{{ stackhpc_pulp_repo_doca_ofed_rhel9.name }}' \
28
- --file {{ item }} \
29
- with_fileglob: "/home/cloud-user/ofed/*.rpm"
33
+ --file {{ item.path }} \
34
+ with_items: "{{ rpm_dir.files }}"
35
no_log: true
36
37
- name: Create Pulp publication for OFED
0 commit comments