Fix virtualenv_package_name for Debian
We actually also need to install the virtualenv package, for the binary. Change-Id: Ic7a90e27f243a6ec1d94d10c86ef7960323e142d Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
d5e73c6ba5
commit
9a71107491
@ -23,8 +23,6 @@ virtualenv_git_version: master
|
|||||||
|
|
||||||
virtualenv_install_method: pip
|
virtualenv_install_method: pip
|
||||||
|
|
||||||
virtualenv_package_name: python3-virtualenv
|
|
||||||
|
|
||||||
virtualenv_pip_name: virtualenv
|
virtualenv_pip_name: virtualenv
|
||||||
#virtualenv_pip_extra_args:
|
#virtualenv_pip_extra_args:
|
||||||
#virtualenv_pip_version:
|
#virtualenv_pip_version:
|
||||||
|
@ -12,6 +12,11 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
|
- name: Define virtualenv_package_name
|
||||||
|
set_fact:
|
||||||
|
virtualenv_package_name: "{{ __virtualenv_package_name | list }}"
|
||||||
|
when: virtualenv_package_name is not defined
|
||||||
|
|
||||||
- name: Install virtualenv from package
|
- name: Install virtualenv from package
|
||||||
become: yes
|
become: yes
|
||||||
package:
|
package:
|
||||||
|
@ -27,3 +27,7 @@
|
|||||||
---
|
---
|
||||||
__virtualenv_build_depends:
|
__virtualenv_build_depends:
|
||||||
- git
|
- git
|
||||||
|
|
||||||
|
__virtualenv_package_name:
|
||||||
|
- python3-virtualenv
|
||||||
|
- virtualenv
|
||||||
|
@ -14,3 +14,6 @@
|
|||||||
---
|
---
|
||||||
__virtualenv_build_depends:
|
__virtualenv_build_depends:
|
||||||
- git
|
- git
|
||||||
|
|
||||||
|
__virtualenv_package_name:
|
||||||
|
- python3-virtualenv
|
||||||
|
Loading…
Reference in New Issue
Block a user