diff --git a/ansible/kayobe-target-venv.yml b/ansible/kayobe-target-venv.yml
index f9e6543d0..6b6d364ca 100644
--- a/ansible/kayobe-target-venv.yml
+++ b/ansible/kayobe-target-venv.yml
@@ -89,7 +89,7 @@
               - python3-setuptools
               - python3-pip
           package:
-            name: "{{ packages | select }}"
+            name: "{{ packages | select | list }}"
             state: present
           become: True
       when: virtualenv is not defined
diff --git a/releasenotes/notes/fix-python-setup-5e7ff929a6cab092.yaml b/releasenotes/notes/fix-python-setup-5e7ff929a6cab092.yaml
new file mode 100644
index 000000000..2dcd3c676
--- /dev/null
+++ b/releasenotes/notes/fix-python-setup-5e7ff929a6cab092.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Fixes an issue with Python setup when venv is not used. See `story 2008378
+    <https://storyboard.openstack.org/#!/story/22008378>`__ for details.