Fix Python setup when venv is not used
Set packages argument explicitly as a list to avoid "No package matching
'<generator object select_or_reject at 0x7ff25f341750>' is available" error.
Story: 2008378
Task: 41298
Change-Id: Ibe44583cb93b7dca8f5091c893386a15288af915
(cherry picked from commit e748faea00
)
This commit is contained in:
parent
ea073b8cb4
commit
6ee7333e7e
@ -89,7 +89,7 @@
|
|||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
- python3-pip
|
- python3-pip
|
||||||
package:
|
package:
|
||||||
name: "{{ packages | select }}"
|
name: "{{ packages | select | list }}"
|
||||||
state: present
|
state: present
|
||||||
become: True
|
become: True
|
||||||
when: virtualenv is not defined
|
when: virtualenv is not defined
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user