Skip to content

Commit 3741910

Browse files
Use venv
1 parent da07773 commit 3741910

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/kayobe/ansible/push-ofed.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
- name: Push OFED packages
33
hosts: ofed-builder
4+
vars:
5+
venv: "/opt/kayobe/venvs/kayobe"
46
tasks:
57
- name: Install python dependencies
68
ansible.builtin.pip:
@@ -23,7 +25,7 @@
2325
- name: Upload OFED RPMs to Pulp
2426
ansible.builtin.shell:
2527
cmd: |
26-
pulp \
28+
{{ venv }}/bin/pulp \
2729
rpm content \
2830
--type package upload \
2931
--repository '{{ stackhpc_pulp_repo_doca_ofed_rhel9.name }}' \

0 commit comments

Comments
 (0)