]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
builder.yml: debian needs python3-venv installed
authorDan Mick <dan.mick@redhat.com>
Fri, 3 Oct 2025 23:08:07 +0000 (16:08 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 7 Oct 2025 22:33:56 +0000 (15:33 -0700)
venv is in some more-global package in el distros

Signed-off-by: Dan Mick <dan.mick@redhat.com>
ansible/examples/builder.yml

index 3009b50be2a63d1065849b323e5b3f4cb38f810b..1745c54af5c6cf36cb101da559c929ab359b0145 100644 (file)
   vars:
     venv: "/home/{{ ansible_user }}/.venv"
   tasks:
+    - name: install python3-venv deb
+      apt:
+        name: python3-venv
+        state: latest
+        update_cache: yes
+      when: ansible_os_family == "Debian"
+      become: true
+
     - name: "clean up any existing {{ venv }}"
       ansible.builtin.file:
         path: "{{ venv }}"