Skip to content

Commit e46e47e

Browse files
Use venv
1 parent a736c44 commit e46e47e

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
--base-url '{{ stackhpc_release_pulp_url }}' \
2830
--username '{{ stackhpc_release_pulp_username }}' \
2931
--password '{{ stackhpc_release_pulp_password }}' \

0 commit comments

Comments
 (0)