Add support to install via package
Change-Id: I76e16413e9f9a4da50019c0d7384cf29f923f7b1 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
47dc121c1f
commit
665c2e6213
@ -23,6 +23,8 @@ virtualenv_git_version: master
|
|||||||
|
|
||||||
virtualenv_install_method: git
|
virtualenv_install_method: git
|
||||||
|
|
||||||
|
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:
|
||||||
|
19
tasks/install/package.yaml
Normal file
19
tasks/install/package.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright 2018 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
---
|
||||||
|
- name: Install virtualenv from package
|
||||||
|
become: yes
|
||||||
|
package:
|
||||||
|
name: "{{ virtualenv_package_name }}"
|
||||||
|
state: present
|
Loading…
Reference in New Issue
Block a user